post qualifier and template constraint limitation, is there a reason ?

bearophile via Digitalmars-d digitalmars-d at puremagic.com
Sat Jan 17 13:26:50 PST 2015


Walter Bright:

> Sure, but you'll need a rationale that is better than "why not" 
> :-)

Often in a language it's a good idea to have only one way to do 
something. To have two places to put those attributes generates 
the question: where do you want to put them? And it's a question 
that wastes time. In Python you don't have "wars" regarding where 
to put the { } because there is just one way to format code and 
indentations... and it's a good way.

Bye,
bearophile


More information about the Digitalmars-d mailing list