small idea

eles eles at eles.com
Wed Jan 9 08:17:15 PST 2013


On Wednesday, 9 January 2013 at 15:10:47 UTC, bearophile wrote:
> eles:
>
>> void make_a_equal_to_b(??a,!!b); //I give you "b", give me "a"
>
> A saner syntax is just to use the same in/out/inout keywords

True. I was worried that it would be too long to type it. 
However, if those are made optional, maybe is not a so bad 
choice, as typing them is not required.

More, they are typed only if the programmer feels the need, 
somehow like a self-documentation. One that can be checked by the 
compiler, though.


More information about the Digitalmars-d mailing list