Talk:DIP50

From D Wiki
Jump to: navigation, search

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.