Eliminate assert and lazy from D?
Justin Johansson
no at spam.com
Tue Oct 13 05:27:24 PDT 2009
Kagamin Wrote:
> Frank Benoit Wrote:
>
> > Maybe it is acceptable to remove lazy and write
> > logging statements with delegate and the curly braces.
> > log({ "bla bla "~info });
>
> I second this :)
>
> http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D&article_id=97504
I third this.
The above article raises a valid observation which needs, uhm well, ..., observing.
Why disguise Smiths with Jones?
Better to work out a briefer syntax for lambda and "half-lambdas".
Now for a way out idea, since D source is cognisant of Unicode, albeit UTF-8, why not make
use of (U+03BB), Greek Small Letter Lambda in the language?
http://www.fileformat.info/info/unicode/char/03bb/index.htm (not the best reference but it will do)
Of course this idea is not original, see following for "prior art"
http://community.schemewiki.org/?syntax-unicode-lambda
Bests to all,
Justin Johansson
More information about the Digitalmars-d
mailing list