H. S. Teoh:

It's annoying to have to write a constructor whose only purpose is to copy arguments into field members.

This is not needed in D for structs. Try it.


I thought adjacent string lits have been deprecated or no longer
supported?

Walter accepted to deprecate it lot of time ago, but it's not implemented yet.


Personally I like it; it lets you format long literals over multiple lines without needing a ~ in between.

If you write an array literal with many strings inside, and you forget a comma, you get less strings, silently. This is a source of real bugs. C# too disallows this, I think.


And also, recently I found this annoyance:

Right, the precedence of the ~ operator different from the precedence of the invisible space operator. This causes some disadvantages. But I think the advantages in gained correctness are more important.

Bye,
bearophile

Reply via email to