Walter Bright:

Not a bad idea. But why not go a step further, and make:

   x := value;

the equivalent of:

   const x := value;

?

Of course. But I think that syntax saves only a small amount of chars, and it adds a second obvious way to do one thing.

There is another syntax that's missing in D that I think is much more useful, and it allows to do something that currently has no good way to be done.

Bye,
bearophile

Reply via email to