On Thursday, 23 February 2017 at 17:23:11 UTC, Nick Sabalausky
(Abscissa) wrote:
And most of those ways being "wrong" or dangerous. And, as you
mentioned, certain "right" ways becoming "wrong" seemingly
every few years.
Not necessarily wrong, but either limited to specific scenarios
or unnecessarily verbose compared to what can be done in the
latest version of the language.
When you have overlapping mechanisms it becomes more difficult to
read the code as there are too many ways for people to express
the same thing. For a wide spread and continuously developing
language like C++ it gets worse because developers keep using
whatever was "right" when they learned about that feature.