DIP 1003: remove `body` as a keyword

Kagamin via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Nov 23 02:19:20 PST 2016


On Tuesday, 22 November 2016 at 22:37:03 UTC, Timon Gehr wrote:
> The more important point is that there is no precedent where 
> {...}{...} are two components of the same entity, it looks ugly 
> even with the space-wasting convention where '{' is put on its 
> own line. Not all contracts are one-liners like in your example 
> above (which looks almost tolerable).

Templated functions have
T!( .... lots and lots of stuff .... ) f!( .... lots and lots of 
stuff .... )( .... lots and lots of stuff .... ) if ( .... lots 
and lots of stuff .... )

And yes, it's ugly.


More information about the Digitalmars-d-announce mailing list