r/ProgrammerHumor • • Feb 14 '25

[deleted by user]

[removed]

8.7k Upvotes

703 comments sorted by

View all comments

Show parent comment

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).

22

u/Vondi Feb 14 '25

That's beyond our borders. You must never go there, Simba.

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

29

u/coppercactus4 Feb 14 '25

You just know you never will know it all. They are too large for one brain

10

u/Hydramole Feb 14 '25

I can try

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

19

u/Abdul_ibn_Al-Zeman Feb 14 '25

Me reading your comment: 300 files? That's nothing! ... wait ... 300 projects?

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

31

u/KillCall Feb 14 '25

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

16

u/deanrihpee Feb 14 '25

the OOP's code or corporate code? because sure the first build time is long, but I've never found one that reached up to 1 hour, but then again, it depends on your hardware...

34

u/KillCall Feb 14 '25

Bro i am working on corporate code. It takes 1 hr to compile.

And 2-4 hrs to compile and deploy (on the local machine).

I set it up to deploy when i log off and come in the morning to see what happened.

And if by chance you need to deploy it during office hours. Well i play chess during that time.

23

u/CoopDonePoorly Feb 14 '25

I do RTL design, some of our sims take weeks to finish. Synthesis can take hours, place and route equally long if it goes well... The difference between school and industry can be staggering.

8

u/deanrihpee Feb 14 '25

no build cache? damn, but I guess I still correct, I haven't found project that reached hours to build, not sure if I should be happy or not (knowing that I might encounter one in the future)

17

u/TSP-FriendlyFire Feb 14 '25

Even build caching can't save you from everything. C++ has a tendency to recompile a lot because of headers and game engines especially tend to move fast and change a lot, so the code requires more recompilation. That's part of why it's often more popular to use distributed build systems like fastbuild over build caches, since you get to leverage the entire org's resources (because even busy devs are rarely compiling all the time, so most PCs are still idle most of the time).

→ More replies (5)
→ More replies (5)

7

u/caminada Feb 14 '25

At one of my previous jobs I worked on a cloud IaaS application. Compiling the entire project from scratch took 13h. Every engineer had a machine dedicated for builds and one for development lol

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

29

u/_meegoo_ Feb 14 '25

My project is so big that even IDEs crap themselves periodically.

12

u/deanrihpee Feb 14 '25

just need more memory!

→ More replies (1)

14

u/magicbean99 Feb 14 '25

I’ve been building a new product at my job for the past 9 months. We ended up having to rebase it on a branch that’s closer to release, so I finally got a chance to see just how many files we’ve added/edited. I knew it was pretty big, but seeing the number hit 580 was shocking 😂 We’ve got other products in our system that make my application look tiny. I can’t imagine how big those are

→ More replies (14)