3 ms·
maintaining the legacy code written in the late 90s is the hardest part. It would be great if we could just press a button and the old code is now magically C+
by tmaly 11y ago
maintaining the legacy code written in the late 90s is the hardest part. It would be great if we could just press a button and the old code is now magically C++14
- neuromancer2701 11y agoMy problem is that I work with a bunch of 90s era engineers and they still want to code that way. It is what they know and they don't want to spend the time to learn any of that new fangled C++11. Most of them are 5-10 years from retirement if not working a shorten week already so why waste their time.
- lorenzhs 11y agoI haven't actually tried it, but clang's C++ Modernizer tries to automate some of the boring manual tasks in bringing old code up to speed (such as using nullptr instead of NULL or 0, or more the for(T x : c) loop construct). See http://clang.llvm.org/extra/clang-modernize.html http://clang.llvm.org/extra/clang-modernize.html (integrated into clang-tidy now)