the best language I have ever met(?)
ketmar via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Mon Nov 21 16:08:05 PST 2016
On Monday, 21 November 2016 at 23:49:27 UTC, burjui wrote:
> Though I would argue that it's better to use '_' instead of '$'
> to denote deduced fixed size, it seems more obvious to me:
>
> int[_] array = [ 1, 2, 3 ];
alas, `_` is valid identifier, so `enum _ = 42; int[_] a;` is
perfectly valid. dollar is simply most logical non-identifier
character.
More information about the Digitalmars-d-learn
mailing list