3 ms·
Does anybody change/update their C++ code to keep it “idiomatic”? Not sure I really get the concept here.
by MR4D 7y ago
Does anybody change/update their C++ code to keep it “idiomatic”?
Not sure I really get the concept here.
- mcguire 7y agoNo idea, but you do see a lot of "no, that's ancient deprecated crap; this is how you do it" every time a new C++ standard release comes out.
- saagarjha 7y agoFor my toy projects, all the time. In production code I often like to use modern C++ when replacing older code.
- roca 7y agoYes, large projects like Firefox and Chrome are constantly updating their code. The rate at which that change happens varies though. Sometimes you do that because the new stuff is a significant improvement in its own right, but you also need to do it because using an "obsolete" dialect of C++ makes it difficult to incorporate third-party code, makes it unattractive to new contributors, and is generally just a code smell.