A crazy two-part proposal

Chris R. Miller lordsauronthegreat at gmail.com
Sun Oct 5 18:18:24 PDT 2008


downs wrote:
> It just occured to me ..
> 
> if we're rethinking template syntax anyway, we could redefine the comma operator in 2.0 to create tuples.
> 
> Then the "of" keyword could be used for templates:
> 
> "(Vector of 2, int)[] veclist; "
> 
> I don't think it gets more understandable than that :D

+1!!!  Pure genius!  Hey, looks like something I saw in Python...  oh 
well, Python is a good language, why not try and learn a few things from it?





More information about the Digitalmars-d mailing list