Difference between revisions of "Talk:DIP50"

From D Wiki
Jump to: navigation, search
(Created page with "IMHO syntax could be made less hostile, e.g.: #{ writeln($expr); } or #( writeln($expr); ) instead of <[ writeln($expr); ]> It's not only cleaner, but also easier to ty...")
 
(No difference)

Latest revision as of 13:53, 10 September 2015

IMHO syntax could be made less hostile, e.g.:

 #{ writeln($expr); }

or

 #( writeln($expr); )

instead of

 <[ writeln($expr); ]>

It's not only cleaner, but also easier to type. Compare:

 #{}    Shift↓  3  [  ] Shift↑

with

 <[]>   Shift↓  ,  Shift↑  [  ]  Shift↓  .  Shift↑

The latter is harder to type, because you need to Shift back and forth.