Semicolons: mostly unnecessary?

bearophile bearophileHUGS at lycos.com
Thu Oct 22 09:44:13 PDT 2009


KennyTM~:

Please people, let's edit emails a little, so you don't carry around 30 KB of useless text :-)

> And if all you need is a 
> re-syntax-ized D with optional semicolon, there is already one here. 
> It's called Delight.

In F# you have the "light" syntax, that you can activate with the #light annotation:
http://stackoverflow.com/questions/461739/f-should-i-learn-with-or-without-light

The Vala compiler accepts, with a compilation switch, the Genie code too (Genie for Vala is like Delight for D).

No one is using Delight, because it's too far away, it needs an extra install, etc. If DMD will start accepting Delight code too, then some people will probably use such alternative syntax (beside syntax, Delight introduces few other things).

Bye,
bearophile



More information about the Digitalmars-d mailing list