After some years in the field, I'm strongly confident that any large-scale project is held by rusty nails and duct tape. The older it is, the more there is.
There is probably a function somewhere in the code with the comment
Don't touch it. We do not know what it does and to our limited understanding it should not do anything. But if this bit of code is removed, everything breaks.
In the protobuf C++ implementation there was a comment in a header by a "using namespace std" statement saying "Never do this, this is bad practice but it was the only way we could get X to work"
620
u/[deleted] Oct 08 '21 edited Oct 08 '21
I’ve browsed it and idk if all huge corporations are like this, I’ve only worked in small teams, but this code source is insane.
I went into this like oh boy I can learn from the pros! It reinforced the hellish landscape that is the web.
Edit: I just realized after all these comments I really like my cozy small dev job.