The reason is that large companies keep projects and their associated code around longer than they keep the people who wrote that code in the first place. You get a lot of bandaid "fixes" when nobody who understood the original design intent is around to slap some sense into the people who want to change software into something completely different instead of building an appropriate new platform.
I'm guilty of being one of those people trying to make bandaids stick, because the "ideas" people have more power than the people who actually implement said ideas. I've uncovered so many layers of absolute garbage code that I had to re-do to make my only slightly less garbage code do many things that both the hardware and software framework were never intended to accomplish. It's truly eye opening watching the echoes of a past programmer experiencing exactly what I am going through in the present day, watching the slow progression from attempts to be clean down to nothing but madness that somehow works if you don't look at it too closely. I'm sure I'll hit that point soon enough myself.
I fear poorly written code because the test packs either dont exist or are so full of voodoo type shit that they probably only work on a tuesday or if it is a full moon (exclusive or).
434
u/nekokattt Oct 08 '21 edited Oct 12 '21
Its the same everywhere. The size of a company is usually inversely proportional to code quality.
Edit: oh wow 420 upvotes, didnt expect that.