Thread overview | ||||||
---|---|---|---|---|---|---|
|
October 26, 2009 Re: Restricting ++ and -- | ||||
---|---|---|---|---|
| ||||
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 Re: Restricting ++ and -- | ||||
---|---|---|---|---|
| ||||
Posted in reply to Kagamin | 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 Re: Restricting ++ and -- | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | 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 Re: Restricting ++ and -- | ||||
---|---|---|---|---|
| ||||
Posted in reply to bearophile | 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?
|
Copyright © 1999-2021 by the D Language Foundation