Static Constructors

bearophile bearophileHUGS at
Sat Oct 4 17:44:14 PDT 2008

Jarrett Billingsley:
> Uh, ok, who cares what coding style you use?

Python and Ruby teach that in a language a more uniform coding style helps people understand each other code faster (and similar things), and that leads to more modules done. And nowadays already done modules that you can find on the net make a language successful instead of an ignored one. I know that the usual culture of C/C++ may be a little against such "freedoms", so I presume a significant part of the D community may not appreciate that.
That also shows a disadvantage of Lisp-style macros, because having lot of customizations makes code less easy to understand by other people.

And the OP may be unaware of some of the syntactic peculiarities of D, so it's useful to show them.


More information about the Digitalmars-d-learn mailing list