Worse is when a protocol or shared state condition is modified.
E.g. suddenly some fresh out of college know-it-all sent crap into your function that you weren't expecting. Then he went to management to blame you for writing such shitty code.
Thing is you wrote unit tests around that code and the shitty know-it-all deleted them rather than changing them when he modified the code
What? Is that a real example? Are you seriously working with people who delete your tests, misuse your code then complain about you to management?
Is your workplace filled with high school students? I’ve never seen anything so petty and immature in my professional career. I hope management told them to grow up.
E.g. suddenly some fresh out of college know-it-all sent crap into your function that you weren't expecting. Then he went to management to blame you for writing such shitty code.
Thing is you wrote unit tests around that code and the shitty know-it-all deleted them rather than changing them when he modified the code
This is why management needs to understand code.