r/ProgrammerHumor • • Feb 14 '25

[deleted by user]

[removed]

8.7k Upvotes

703 comments sorted by

View all comments

7.0k

u/PzMcQuire Feb 14 '25

I love how he says "over 30 files" as if that's a lot for a modern commercial product...

1.8k

u/Bodine12 Feb 14 '25

“Claude, I’d like you to first run through the node_modules folder and keep that in mind as you answer.”

986

u/hispeedimagins Feb 14 '25

Cruelty against llms must stop.

283

u/OnionNo Feb 14 '25

It's not their fault people are using them to write code! They're as much of a victim as the people that get saddled with AI-generated code that doesn't work.

112

u/UpAndAdam7414 Feb 14 '25

The AI becoming sentient and wiping out humanity because it had been forced to code and debug will be the plot to the next Terminator movie.

→ More replies (2)

126

u/enobayram Feb 14 '25

The real cruelty against llms start when you set up "agentic" companies of multiple AI agents all acting like different roles in a company. It's very very sad when a bunch of "programmer LLM"s have to sit through sprint planning meetings lead by "SCRUM master LLM"s. Imagine being a form of intelligence whose only existence is to sit through sprint planning meetings for all eternity...

→ More replies (6)
→ More replies (4)

53

u/5t4t35 Feb 14 '25

Wouldn't Claude just crash at that point? Just having vite alone node_modules had 40 files iirc that came with it and thats without framework

36

u/enobayram Feb 14 '25

My guess is that it wouldn't crash per se, but its context would turn into a mush and it wouldn't make much sense and hallucinate like mad.

→ More replies (1)
→ More replies (11)

1.1k

u/deanrihpee Feb 14 '25

I want to see his expression when somehow he gets a job and actually sees the real source code of a real product, as long as you know your IDE and understand the project, you will be able to move around big projects effortlessly, but, making sure it doesn't break anything required to actually know how to program

424

u/coppercactus4 Feb 14 '25

The game engine I work with has over 300 projects in the solution. They would cry lol

279

u/deanrihpee Feb 14 '25

well, game project is even more daunting because it's not just pure code

180

u/coppercactus4 Feb 14 '25

Oh they are total beasts. So much hyper specialized knowledge, dozens of years of edits, and always pushing to get faster and newer tech

126

u/DrWermActualWerm Feb 14 '25

I've been learning Godot on the side for fun the last 4-5 months and Jesus the amount of hidden buttons and random side knowledge you need to know for basic things is agonizing.

65

u/TSP-FriendlyFire Feb 14 '25

And Godot is a much more recent (therefore generally less cursed), much smaller engine than what you'll find in AAA studios.

The Anvil source is still peppered with "pop" macros (for Prince of Persia: The Sands of Time, the game the engine eventually morphed from). Unreal Engine has essentially built up their own standard library. I'm sure Frostbite, RED Engine, CryEngine and so on all have their own versions of absolutely horrible code that you really would rather ignore existed in the first place.

63

u/logicbox_ Feb 14 '25

Imagine the mess that is creation engine (Skyrim/Fallout).

→ More replies (2)
→ More replies (2)
→ More replies (4)
→ More replies (11)
→ More replies (3)
→ More replies (5)

31

u/KillCall Feb 14 '25

A source code that takes hours to compile and a few hours to execute.

→ More replies (28)
→ More replies (18)

154

u/Thunder_Child_ Feb 14 '25

At my work there are catacombs of old code that no one touches but it still works. If there's a bug we wrap the old code in new code to try and fix it. It's like the mechanicus from 40k spreading incense and chanting whenever there's a release.

→ More replies (10)

60

u/sbditto85 Feb 14 '25

To be fair each of files could be ridiculously large with functions and objects spewed everywhere.

102

u/[deleted] Feb 14 '25

I worked on a project that had a single 37k line aspx file once. It was the entire admin UI rendered with a bunch of if/else blocks, plus all the (C#) code that implements all of the operations, all the way down to opening connections to the database and running SQL commands, all copy/pasted.

It was insane.

Visual Studio wouldn't even try intellisense, lol. It just rendered as plain black text with no autocomplete.

→ More replies (8)
→ More replies (1)

48

u/Angelmass Feb 14 '25

I had to check my work codebase out of curiosity. The main repo (granted, it is a monorepo full of microservices) is 366860 files

→ More replies (1)

38

u/Mundane_Anybody2374 Feb 14 '25

Right? 30 files is probably just a very basic feature and a handful of api calls sorting and filtering hahahaha.

34

u/SuitableDragonfly Feb 14 '25

Why are we assuming this bozo has any idea how to host a web service? He's probably writing this code to do his math homework for him or something.

30

u/IMightDeleteMe Feb 14 '25

He isn't writing anything.

→ More replies (1)
→ More replies (3)
→ More replies (53)