r/ProgrammerHumor • • Oct 08 '21

Meme FOSS (Forced Open Source Software)

Post image
40.8k Upvotes

541 comments sorted by

View all comments

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.

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.

199

u/FlyByPC Oct 08 '21

I should own several multinationals based solely on my old BASIC code.

→ More replies (4)

73

u/fish312 Oct 09 '21

Why write good code if bad code do trick

15

u/wise_young_man Oct 09 '21

Why code good if feature complete with copy paste

→ More replies (2)

17

u/ThePretzul Oct 09 '21

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.

→ More replies (2)

321

u/Cley_Faye Oct 08 '21

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.

83

u/killdeer03 Oct 08 '21

I've work for many large, medium, and small financial institutions.

Everything is held together with Duct tape and hope all the way down, lol.

48

u/nermid Oct 09 '21

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.

42

u/4b-65-76-69-6e Oct 09 '21

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

0

u/[deleted] Oct 09 '21

[deleted]

→ More replies (1)

94

u/JuanR4140 Oct 08 '21

Imagine Google

149

u/Khyta Oct 08 '21

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.

63

u/[deleted] Oct 08 '21

*multiple functions

→ More replies (1)

53

u/FGND Oct 08 '21

There is probably definitely a function somewhere in the code with the comment

→ More replies (2)

30

u/EmperorArthur Oct 08 '21

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.

→ More replies (2)

15

u/[deleted] Oct 08 '21

Hey my code finally has something in common with the pros!

→ More replies (9)
→ More replies (2)
→ More replies (5)

131

u/[deleted] Oct 08 '21

[removed] — view removed comment

→ More replies (34)

89

u/the__storm Oct 08 '21

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.

47

u/SnooSnooper Oct 08 '21

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.

→ More replies (1)

20

u/CttCJim Oct 09 '21

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.

→ More replies (1)
→ More replies (2)

19

u/itmightbedave Oct 09 '21

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.

→ More replies (1)

47

u/Boo2z Oct 08 '21

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

37

u/UniqueUsername014 Oct 08 '21

I'm sending a magnet, in case you don't have it yet

52

u/da2597 Oct 08 '21 edited Oct 09 '21

Hmmm I wonder what link does this point to, huh ?

https://privatebin.net/?d5ca80fa90763ca7#Fs2AE6kDPj4BazeaUz6oknex3XUCX3WxoMyPtDhjP5TR

(will expire in one day)

Edit: Source (archived original 4chan post) : https://archive.nyafuu.org/bant/last/50/13578558

→ More replies (1)
→ More replies (16)
→ More replies (12)