Thread overview
Re: Restricting ++ and --
Oct 26, 2009
Kagamin
Oct 26, 2009
bearophile
Oct 26, 2009
d-noob
Oct 26, 2009
Kagamin
October 26, 2009
bearophile Wrote:

> Python designers have totally avoided to put those operators in the language, with the rationale they are bug-prone while saving just a little of typing.

In D you don't actually have to use them: you have ranges, foreaches etc.
October 26, 2009
Kagamin:
> In D you don't actually have to use them: you have ranges, foreaches etc.

Very good, then restricting them will cause no problems.

Bye,
bearophile
October 26, 2009
bearophile Wrote:

> Kagamin:
> > In D you don't actually have to use them: you have ranges, foreaches etc.
> 
> Very good, then restricting them will cause no problems.

He probably meant that the idea was to leave those parts of the language untouched that don't really matter to you. You can write pythonese d just like before and the rest of use can write in good old C/C++ fashion.

October 26, 2009
bearophile Wrote:

> Kagamin:
> > In D you don't actually have to use them: you have ranges, foreaches etc.
> 
> Very good, then restricting them will cause no problems.

Why do you use feature if you feel uncomfortable with it? If I'm not familiar with template voodoo, should I write TMP library and debug it?