On Thursday, 26 October 2023 at 03:39:19 UTC, Walter Bright wrote:
I've heard from an expert insider source that Scala macros
destroyed the language.
The worst stuff I've ever heard about Scala, apart from
compile-speed anecdotes, is "Scala Collections: Why Not?"
On 10/28/2023 1:54 PM, bachmeier wrote:
I wonder if Walter has an opinion on this. In a .c file:
It looks like the author is self-taught with little exposure to other
programmers.
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
On Saturday, 7 October 2023 at 12:37:37 UTC, sighoya wrote:
I disagree however in all binary types should be just boolean.
I prefer machineState=State.On or State.Off than
isMachineOn=true or false.
This was finished possible:
```d
import std;
enum State : bool
{
Off, On
}
void main()
{
On 10/26/2023 2:30 AM, John Colvin wrote:
Good talk.
Many very clever people would achieve more if they tried to understand why a v.
experienced developer would care to spend so much time talking about what might
appear to be such basic points.
The key challenge: If this stuff was so
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
On Thursday, 26 October 2023 at 03:15:00 UTC, Walter Bright wrote:
On 10/4/2023 12:50 PM, claptrap wrote:
Yes he can do what he likes, nobody has the right to demand
anything from him. But his position and experience and
knowledge is such that him doing a talk on coding guidelines
is
On 10/3/2023 8:10 AM, matheus wrote:
I understand the advantages of the UFCS, I was just pointing out that the
example given in that post are NOT equivalent, if it was deliberated or not I
don't know, but I think it was just a small mistake, otherwise the author
woundn't say they are
On 10/18/2023 11:51 AM, Max Samukha wrote:
On Tuesday, 3 October 2023 at 19:03:00 UTC, Walter Bright wrote:
$0.
true
It's one reason why donations to the DLF go a long way. We try hard to squeeze
the most out of every dollar.
On 10/8/2023 6:21 AM, sighoya wrote:
I have another thing to add. You argued about reasons not to use macros but
these reasons don't apply to AST Macros, they won't allow constructing new
languages like in Lisp or in Neat.
Typed AST Macros would only accept parseable D source code with
On 10/7/2023 5:37 AM, sighoya wrote:
Thanks, I think we need more of this as D has become a large language already.
There were some points I even never considered before.
I'm glad it's a win for you!
I disagree however in all binary types should be just boolean.
I prefer
On 10/5/2023 10:21 AM, angel wrote:
I don't mind if it does not compile without the `ref`, but it should be on the
table - WYSIWYG.
It's a good point. Consider the refactoring angle. If I wished to switch from a
struct to a class, and vice versa, and can just change the definition. If `ref`
On 10/5/2023 6:30 AM, claptrap wrote:
While I agree with the overall gist I didn't find his examples very interesting
or convincing. They were pretty much all made up to illustrate, outdated, or
disingenuous (the first one with the intentionally obfuscated code).
I know they look trivial, but
On 10/4/2023 5:53 PM, claptrap wrote:
I have never once said he cant talk about whatever he wants to, I've explicitly
said the opposite. All I said is that by virtue of who he is has more
interesting things to talk about than whether "enum { yes, no }" is a good idea
or not.
When I stop
On 10/4/2023 12:50 PM, claptrap wrote:
Yes he can do what he likes, nobody has the right to demand anything from him.
But his position and experience and knowledge is such that him doing a talk on
coding guidelines is disappointing.
Considering how few people follow the coding guidelines I
On Tuesday, 3 October 2023 at 19:03:00 UTC, Walter Bright wrote:
$0.
true
On Sunday, 8 October 2023 at 13:21:12 UTC, sighoya wrote:
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
[...]
I have another thing to add. You argued about reasons not to
use macros but these reasons don't apply to AST Macros, they
won't allow constructing new languages like
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
[...]
I have another thing to add. You argued about reasons not to use
macros but these reasons don't apply to AST Macros, they won't
allow constructing new languages like in Lisp or in Neat.
Typed AST Macros would only accept
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
I think if `class` is a reference type, it should've been
explicit:
```sh
class C {
...
}
auto obj = new C();
void func(ref C obj)
{
...
}
```
I don't mind if it does not compile without the `ref`, but it
should be on the table - WYSIWYG.
On Thursday, 5 October 2023 at 08:46:50 UTC, Dom DiSc wrote:
On Thursday, 5 October 2023 at 00:53:45 UTC, claptrap wrote:
[...] he is has more interesting things to talk about than
whether "enum { yes, no }" is a good idea or not.
His point here was not that having an enum with values for yes
On Thursday, 5 October 2023 at 00:53:45 UTC, claptrap wrote:
[...] he is has more interesting things to talk about than
whether "enum { yes, no }" is a good idea or not.
His point here was not that having an enum with values for yes
and no is a bad idea. The bad idea is assigning yes the
On Wednesday, 4 October 2023 at 21:03:14 UTC, bachmeier wrote:
On Wednesday, 4 October 2023 at 19:50:55 UTC, claptrap wrote:
On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote:
On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote:
I personally found this talk very
On Wednesday, 4 October 2023 at 19:50:55 UTC, claptrap wrote:
On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote:
On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote:
I personally found this talk very disappointing. Walter is
the head honcho and he's giving talks on
On Wednesday, 4 October 2023 at 12:50:16 UTC, bachmeier wrote:
On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote:
I personally found this talk very disappointing. Walter is the
head honcho and he's giving talks on coding guidelines?
Its like visiting the F1 engineering workshop
On Wednesday, 4 October 2023 at 07:26:25 UTC, claptrap wrote:
I personally found this talk very disappointing. Walter is the
head honcho and he's giving talks on coding guidelines?
Its like visiting the F1 engineering workshop and getting a
talk on health and safety.
Tell us the engine,
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
On Tuesday, 3 October 2023 at 13:39:33 UTC, user1234 wrote:
A message specifically dedicated for you, Mike.
According to me there is a problem in the blog. Author and
publication date should be put on top of an entry (currently
the information are only at the bottom).
Yes, I agree. That's
On 04/10/2023 8:03 AM, Walter Bright wrote:
On 10/3/2023 12:36 AM, Max Samukha wrote:
'No hire' for language designers who design sum types to be implicitly
enumerated and convertible to integers and booleans?
There's a reason my salary from the D Foundation is $0.
As long as its the tag
On 10/3/2023 12:36 AM, Max Samukha wrote:
'No hire' for language designers who design sum types to be implicitly
enumerated and convertible to integers and booleans?
There's a reason my salary from the D Foundation is $0.
HN front page, too!
https://news.ycombinator.com/news
On Tuesday, 3 October 2023 at 12:01:56 UTC, Martyn wrote:
Agreed. Even though I do like UFCS, I find the above confusing
to follow despite being more pleasing to the eye. I had to
break it down and, as Matheus already pointed out, looked
incorrect.
I normally avoid writing code like
On Tuesday, 3 October 2023 at 13:39:33 UTC, user1234 wrote:
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his
On Tuesday, 3 October 2023 at 13:33:29 UTC, Dom DiSc wrote:
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote:
I the first example "e" is receiving two arguments. While in
the latter "d" is being receiving whatever "c" returns and "3".
That's the point. In UFCS it is immediately
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote:
I the first example "e" is receiving two arguments. While in
the latter "d" is being receiving whatever "c" returns and "3".
That's the point. In UFCS it is immediately obvious which
function receives the 3, while with all the
On Tuesday, 3 October 2023 at 03:17:44 UTC, zjh wrote:
Nice!
[chinese
version](https://fqbqrr.blog.csdn.net/article/details/133522267).
On Tuesday, 3 October 2023 at 10:39:19 UTC, matheus wrote:
Nice article but I think that I found a bug:
g(f(e(d(c(b(a))),3)));
a.b.c.d(3).e.f.g;
"That’s the equivalent, but execution flows clearly
left-to-right. Is this an extreme example, or the norm?"
Well I don't think they're
On 03.10.23 09:36, Max Samukha via Digitalmars-d-announce wrote:
'No hire' for language designers who design sum types to be implicitly
enumerated and convertible to integers and booleans?
import std.typecons;
void main() => assert(Yes.mate_hiringRedFlag);
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
https://www.reddit.com/r/programming/comments/16y2h36/crafting_selfevident_code_in_dlang/
'enum { Yes, No }; is just an automatic “no hire” decision'
'No hire' for language designers who design sum types to be
implicitly
On Monday, 2 October 2023 at 17:28:19 UTC, Mike Parker wrote:
It's been a long, long while since I published anything on the
blog.
Nice!
It's been a long, long while since I published anything on the
blog. I do intend to get pick it up again down the road, but
Walter recently surprised me with plans of his own. He's taken
the topic of his DConf '23 talk and derived a blog post from it:
43 matches
Mail list logo