4 ms·
>there's no way you can do anything in the C++ codebase without a serious understanding of the language latest features I don't mind using the latest features,
by spyremeown 5y ago
>there's no way you can do anything in the C++ codebase without a serious understanding of the language latest features
I don't mind using the latest features, there are some really nice things like iterators, compile time expressions and so on. I just don't want it to be hard to read or understand (like you said, using ALL the latest features).
So a good rule of thumb for me has been "if I give this to a newcomer, will he be able to infer what this is doing?". If yes, it's generally "safe" to use it.