News for hackers. Stuff that matters.
Re:C++ Coroutines Do Not Spark Joy by spyremeown on Monday November 01, 2021 @06:58AM (#29065132)
>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.

There are no comments on this comment yet.