accept @pure @nothrow @return attributes

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Wed Jan 28 05:14:15 PST 2015


Dicebot:

> Yes, but it didn't also fix anything, only introduced more ways 
> to do the same thing - without any plans for some consistent 
> model.

One of the rules of the Python Zen:

There should be one-- and preferably only one --obvious way to do 
it.

The word "obvious" is important, because usually there are 
multiple ways to do something, but only one of them should be 
obvious in Python :-)

Bye,
bearophile


More information about the Digitalmars-d mailing list