Hacker News new | ask | show | jobs
by ogoffart 653 days ago
Why do you think this is?

Some reason I can think of:

- Can't update the compiler (eg, porting the code base to the new compiler is too complicated)

- No compiler support for the new standard that target a specific platform that one still want to support.

- Too much work to update the whole code base to work with the new standard.

- A 3rd party library is not supporting new standard yet.

- The team is reluctant to have to learn new technologies.

Some are somewhat valid reason, some are less, some are indication of deeper problems.

(P.S: My C++ code base is using C++20. Didn't move to C++23 yet because I think some customers might not be ready for it yet for one of these reasons, but I'm going to push for it at some point.)

1 comments

Compiler support for the platform is the general limit. C++ is very good about not breaking old code so old codebases are easy enough to port and anyone who refuses to learn can keep using the old ways.