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