13
antic
3y

C++ code written before current standards still complies and is just as maintainable, but every so often a new major change to the standard happens and I feel like all my code I wrote before last month or so now needs updated. "Range-based for" ALL THE THINGS. except I'm just retouching code and possibly adding bugs along the way.

Sometimes I just feel that my most mastered and beloved language suffers from a severe case of multiple personality disorder. As soon as I get to know it, it's suddenly somebody else.

Comments
  • 2
    You should try clang-tidy. It's a static analysis tool that can also modernize your code (for example, changing iterator based for loops with range-fors. Here you have a video explaining how it works: https://youtu.be/OchPaGEH4TE
Add Comment