News for hackers. Stuff that matters.
Re:You've just inherited a legacy C++ codebase, now what? by Jtsummers on Thursday February 29, 2024 @05:43PM (#39556220)
Legacy systems that you inherit don't have people coming with them very often. That's part of the context of this. You often don't have people to trace it back to or at least not the people who actually wrote it (maybe someone who worked with them before they got laid off a decade ago), and reformatting the code is not going to make it any harder to get answers from people who aren't there.
Re:You've just inherited a legacy C++ codebase, now what? by mst on Friday March 01, 2024 @10:59AM (#39562974)
I've been in situations where even without access to the people knowing which of them wrote something gives me a better idea of how to backwards infer what (and of course sadly occasionally 'if') they were thinking while writing the code.

Then again, I think most of the tells for that for me are around the sort of structure that would survive reformatting anyway.

(and, y'know, legacy stuff, everything's a bloody trade-off)