| ▲ | usrnm 4 days ago | |
Is it actually simpler, though? The unfortunate reality of this world is the fact that C++ is not the latest standard of the language or the newest shiny library, it's all of them at the same time. Adding a new way of doing the same thing decreases complexity only if you migrate all of the existing code, which nobody ever does. | ||
| ▲ | hasley 4 days ago | parent [-] | |
In cases where I assume that enough test coverage exists, I simplify code that I am currently working on or which I need to read very often. This way I have already replaced a lot of for-loops by range-based for-loops. It helps me to understand code faster. But code parts that noone needs to touch or see do not need to be more readable. | ||