4 ms·
>If we look at programming languages as tools, it makes sense for them to get out of date and new ones taking their place, with all the lessons learned. Part o
by Aerroon 6y ago
>If we look at programming languages as tools, it makes sense for them to get out of date and new ones taking their place, with all the lessons learned.
Part of me thinks that this is how it should be. Extending a language constantly while providing backwards compatibility can lead to some awkward syntax too.
- hackingthenews 6y agoAgreed. Just gonna drop this here: Nicolai Josuttis “The Nightmare of Initialization in C++” [0] [0] https://youtu.be/7DTlWPgX6zs https://youtu.be/7DTlWPgX6zs
- pietroglyph 6y agoThe thing is that this is not a huge issue in practice. I stick to uniform initialization in 99% of cases and it works out pretty well. I have far fewer bugs from initialization screwups than from other things.
- Aerroon 6y agoBut what kind of an effect does this have on someone new learning the language? It seems to me like it would make it slightly harder to learn and get used to.
- lenkite 6y agoSimple, read and religiously follow the Core Guidelines. Bad, converting initialisations are also flagged as warnings (or errors with -Werror).