"with" still sucks + removing features + adding features

KennyTM~ kennytm at gmail.com
Wed May 20 06:00:00 PDT 2009


bearophile wrote:
> Christopher Wright:
>> The more common suggestion is:
>> alias bar = foo;
> 
> I can add this too:
> typedef Bar = Foo;
> 
> This changes in typedef and alias can solve two of the small problems I have with D. Let's see if Walter accepts such ideas.
> 
> (In the last days two more ideas have floated in this newsgroup: disallowing floating point literals with nothing before the point like ".57", and making "with" safer). Such small improvements pile up.
> 
> Bye,
> bearophile

typedef int MyInt = 1;



More information about the Digitalmars-d mailing list