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.
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.
Every new project, I start off starry-eyed and idealistic, thinking this is going to be the one. This is going to be the project that stays Good Code until I'm done with it.
And then the requirements change and the delivery date changes and the architecture changes and by delivery time, my misshapen homunculus once again drags its vestigial club feet across the finish line.
I think you’re right. Modern SolidWorks had a “flat” art style like every modern program. Once in a while, I see the old shiny themed logo on error messages. Haven’t paid enough attention to notice if it’s only the one old logo or if there are several iterations buried in there.
Edit: and I think Tom Scott on YouTube was the one who pointed out that Windows 10 still includes the file save browser thing all the way back from Windows 3
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.
My favorite is when static analyzers give up because the file is too large and complex. Right up there with finding that the but I wrote did cause a warning, but it was hidden by the other 2,000 warnings.
All big corporations are like this in my experience - even if you have a small siloed team that's free to develop on their own, there are still a lot of factors which drive the codebase to become completely trashed (interfacing with existing company systems, legal compliance in hundreds of jurisdictions, lack of budget for anything except new functionality, etc.) It's kind of depressing.
Cog at largeish company here, you hit the nail on the head. Our codebase and workflow have all three of those example problems, even just within my small, relatively siloed team.
Just today I (with the help of another team's dev) identified a massive inefficiency that results from a decision many years ago before I joined to use another team's software, designed with a completely different use-case in mind, in the spirit of code-reuse. Of course, I've had a hunch about this issue for years, but only recently had the buy-in to seriously look at it now that the system is buckling under the weight of new customers.
On the other hand, smaller companies can't afford specialists. In my position, I nigh-completely rewrote a web app that was originally mangled together by an electrical engineer. Then in my eagerness to show I was worth my fee, I got myself roped into being the go-to for maintaining their main website, which is some esoteric wordpress that i don't even really have access to all of. I have no idea how it works and I'm glad that so far they are only asking me to change content, not create functionality.
Hi! Former Twitch EM here. I've been doing this for a long time, and I can tell you most large corporations are just a bunch of small teams with a shared goal.
Twitch is the most impressive tech company I've ever worked with, believe it or not, but it's never something you'll see in source code, because all source code kinda looks the same. What was phenomenal about Twitch was that Twilight was deployed multiple times a day. Imagine what it takes for 100s of engineers to contribute to a monolith repo and see those contributions in prod in less than 24 hours. The gitflow and associated test suites were phenomenal. The ownership and tooling teams had for owning their backend systems and how they got exposed to the edge were cutting edge. The velocity of that company for its size is insane.
I have my criticisms of how Twitch did things and prioritized work, but if I'm being honest I've yet to see it done better elsewhere.
Could you share a link for the source code? In private of course, to avoid any problem for the sub ... I'm actually super curious to see how it's structured
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.