"with" still sucks + removing features + adding features

bearophile bearophileHUGS at lycos.com
Wed May 20 02:07:59 PDT 2009


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



More information about the Digitalmars-d mailing list