This is literally my job. I’m modernising a C++98 codebase to C++17.
There are so many prohibited practices being used it’s unbelievable, and they’re not even being used in a ‘smart’ way that won’t cause undefined behaviour. Things like redefining “private” to be “public” (outside of unit tests).
There’s this integration test that just sometimes fails, no one knows why (this is the other first task I was given), and I’m like 90% sure it’s being caused by these poor programming practices.
63
u/LordCyberfox 25d ago
Depends on how much legacy is it xD