DIP53 and DIP49 (ver2) - New definitions for qualified constructors and postblits

bearophile bearophileHUGS at lycos.com
Fri Dec 20 00:42:04 PST 2013


Joseph Rushton Wakeling:

> As far as I can see, it's learning a small extra meaning of 
> 'const' in a context where it's quite intuitive, versus 
> introducing an extra keyword which is used _only_ in this 
> context and which is not entirely intuitive.

A new keyword is a flag that you have found something different. 
It makes it simpler to learn.


> I'd have said the second would be more complex and more likely 
> to lead to practical misunderstanding.

Giving different names to different ideas makes them less complex 
:-)

(We are bikeshedding a little.)

Bye,
bearophile


More information about the Digitalmars-d mailing list