3 ms·
> C++11 is 11 years old. If you haven't modernized your code base in 11 years you never will. That doesn't make it a dead codebase. New code still gets written
by int_19h 4y ago
> C++11 is 11 years old. If you haven't modernized your code base in 11 years you never will.
That doesn't make it a dead codebase. New code still gets written - and it helps when it can be written using newer, better techniques while working nicely with old code. I once worked on a codebase that had ancient code from mid-90s with explicit COM AddRef/Release side by side with C++11 lambdas and TMP.
- still_grokking 4y ago> I once worked on a codebase that had ancient code from mid-90s with explicit COM AddRef/Release side by side with C++11 lambdas and TMP. Sounds like pure joy.
- int_19h 4y agoIt was certainly an ... interesting experience. But it would have been much, much more unpleasant if we had to write new code 90s-style, too. OTOH if we tried to rewrite the whole thing from scratch, we wouldn't ship a new feature for many years - only new bugs.
- 29athrowaway 4y ago"I stopped caring 20 years ago" achievement unlocked.