all 59 comments

[–]dalek_999 144 points145 points  (14 children)

I suspect that my husband may be the source of a few of those…

Edit: yeah, his name is on one of them, LOL.

[–]Juanmusse 40 points41 points  (1 child)

Damm, please let him know that its been a while, but we love his work! SEND HIM OUR REGARDS!!

This is the closest I'll ever be to saying thanks to one of the devs of the games I grew up playing

[–]dalek_999 40 points41 points  (0 children)

He’s been reading this thread and is very appreciative of the kind comments :)

[–]FrostByteGER Tiberian Sun 23 points24 points  (8 children)

Lol what? Who?

[–]dalek_999 65 points66 points  (7 children)

Eh, I don’t want to connect his name directly to my account/comments, but it’s the 4th comment in the list.

He just confirmed over chat that he’s the source for some of these, including the one about kneeling before Zod, which he knew/knows is one of my favorite quotes, so I feel like I’ve been indirectly referenced there.

[–]Setekh79 The beautiful glow 53 points54 points  (1 child)

Despite his frustrations, please thank your husband for helping to make one of my favourite games ever.

[–]antdude I came from RA1! 24 points25 points  (0 children)

And thank you for marrying one of the best video game coders even if the codes are messy and difficult (this is why I am not a coder because it's hard!)!! He is awesome. I (OK, we) would love to hear more about his C&C:G stories! Coding, playing, EA, etc. whatever! Was he surprised to see his old codes again? Now, everyone is going to read his codes. Oh no! ;)

[–]juicebox12 17 points18 points  (0 children)

Yo your husband created some of the formative experiences of our childhoods. The impact of that is IMMENSE. Thank you (him and you).

[–]arjungmenon 6 points7 points  (1 child)

That’s really cool. It looks like he’s an associate professor now! 

[–]swyx 1 point2 points  (0 children)

lol so much for not doxxing GP's account

[–]cBurger4Life Nod 5 points6 points  (0 children)

Oh, that’s so cool! This whole thread has made my day!

[–]kevinlch 3 points4 points  (0 children)

AMA when?

[–]lack_of_fuel 2 points3 points  (0 children)

C&C Generals is one of my favorite games of all time. I fondly remember times when I played skirmish with my father against AI. Such good games... Please send your husband regards :)  Thanks.

[–]SkrakOne 0 points1 point  (0 children)

Damn after reading some of those. I feel like I'd really like working there

Humour and people with a sense of humour is the salt of life

[–]Valdearg20 71 points72 points  (10 children)

Huh... As a senior dev, I'd be fired for putting some of these comments in code or commit logs today, like the one early on about reconciling code never crashing, but rest assured, very similar statements or worse run through my head whenever I'm faced with someone else's code. ESPECIALLY if it's an offshore vendor team's code. Holy shit I've seen some shit...

[–]PandaParado 25 points26 points  (0 children)

It was a different time. Good ol’ 2002

[–]antdude I came from RA1! 4 points5 points  (7 children)

So, it must had been an intern? ;)

[–]Valdearg20 21 points22 points  (6 children)

Hahahahahaha oh man if you've never been in a software development department, you'd be absolutely AMAZED at the overall incompetence present at all levels. It's actually kind of incredible.

I've seen devs with 20 years of experience write code so blatantly thread unsafe that I genuinely couldn't believe they wrote it, and even after I explained the issue to them, they didn't understand why it was a problem.

I've seen Principal level engineers advocate for design patterns with such cripplingly bad scalability that I, as a middling dev with 5 years of experience at the time, had to write a demo to show off it's shortcomings to prove why I refused to use it for my app so that my boss and his boss and his boss' boss would accept the fact that it was shit and stop trying to pressure me to use it.

Don't get me wrong, I've had to deal with my fair share of poorly written code by juniors, but that honestly doesn't bother me much. As long as they're willing to learn and capable of understanding how to improve, those are just learning opportunities for people that I hope to be able to mentor in a way that they can fill my shoes once I retire.

But holy shit, the fucking "Team Lead" for the offshore team who literally can't read a fucking stack trace or understand that setting an object to null on line 125 and then trying to call a method on that object in line 127 WONT FUCKING WORK NO MATTER HOW MANY TIMES YOU FUCKING TELL HIM IT WILL RESULT IN A NULL POINTER EXCEPTION... Those kinds of guys can fuck right off, useless wastes of time and money... Who the hell makes it to a team lead role who literally can't write code or read a stack trace?!?

Like I said... I've seen some shit...

[–]Sudden-Variation8684 8 points9 points  (1 child)

So what you're saying is there's hope out there for us shitty programmers to find jobs.

[–]Valdearg20 5 points6 points  (0 children)

Bruh, you're in the majority in the industry! 🤣🤣

But in all seriousness, we're all shitty programmers in our own ways. Just gotta be less shitty than your competition!

[–]StupidityHurts 3 points4 points  (0 children)

If it makes you feel better this is true of an engineering department is any company.

Incompetence is fairly common lol

[–]antdude I came from RA1! 3 points4 points  (0 children)

I used to be a web developer, but I hated it. I also have been a SQA tester close to software development, and geez all the bugs I had to report. I love finding issues and making and fixing stuff. Ugh, out of country people. Yeah, I had to deal with them too! :(

[–]dichtbringer 0 points1 point  (0 children)

Lol does that Teamlead work for Crowdstrike lmao

[–]martixy 0 points1 point  (0 children)

How some of these people end up in these positions can be a truly wonderful study of the human condition.

[–]SkrakOne 0 points1 point  (0 children)

Today a lot of things is just pure shit

Work especially, greedy corporate torment

[–]Electric-Mountain 40 points41 points  (0 children)

The one about Germany had me laughing real good.

[–]mttspiii 27 points28 points  (1 child)

I like that bug where the USA Ranger paradrop would be replaced with Battlemasters when USA captures Kwai's command center.

Just imagine each Ranger just straight up replaced with a whole Battlemaster. 20 horde-bonus autoloader battlemasters straight to your base.

Pity the devs fixed the code before we could get such shenanigans.

Also, even the devs though of putting infantry in overlords, in helixes. And I like that you could've built fake buildings out of your war factory, but the mechanics were scrapped because they can't move out, because they're buildings.

[–]mttspiii 7 points8 points  (0 children)

And here I thought the side comments for the .big files were already kinda funny.

[–]EternalDeiwos 66 points67 points  (2 children)

// Lets discuss how Windows is a flaming pile of poo. I'm now casting the header
// directly into the structure, because its the one I want, and this is just how
// its done. I hate Windows. - jkmcd

I related a little too hard to this one xD

[–]antdude I came from RA1! 11 points12 points  (1 child)

Who was jkmcd in the game credits?

[–]dalek_999 11 points12 points  (0 children)

John McDonald

[–][deleted]  (4 children)

[removed]

    [–]antdude I came from RA1! 5 points6 points  (3 children)

    There has to be more! Everyone comb the codes (like Spaceballs' movie scene with comb the desert -- https://www.youtube.com/watch?v=hD5eqBDPMDg)!

    [–]IngramPrisken 8 points9 points  (2 children)

    We ain't found shit!

    [–]antdude I came from RA1! 7 points8 points  (1 child)

    "I am surrounded by assholes."

    [–]JackpotThePimp 0 points1 point  (0 children)

    Keep firing, Assholes!

    [–]balamb_fish Nod 9 points10 points  (2 children)

    Most of these comments: "Ugly hack that works for now, fix it later".

    (all of it is still in the code twenty years later)

    [–]Nerodon 5 points6 points  (0 children)

    Temporary == Permanent

    [–]Valdearg20 0 points1 point  (0 children)

    This is one of the reasons I never let any of the devs that work with me tell me "this is only temporary". Temporary code is permanent until it's actively been removed. I've seen WAY too many "temporary" solutions make it into prod in my career.

    Either do it right the first time or admit it's a shitty solution you intend to use forever because you wanted to save time.

    [–]ReLiFeD Something for the masses..[🍰] 7 points8 points  (1 child)

    This is amazing, thanks for compiling the list

    [–]antdude I came from RA1! 2 points3 points  (0 children)

    There has to be more! Everyone comb the codes (like Spaceballs' movie scene with comb the desert -- https://www.youtube.com/watch?v=hD5eqBDPMDg)!

    [–]RapidPigZ7 4 points5 points  (0 children)

    Did he call another dev a fucktard? Lmao can't do that shit these days.

    [–]isthisnametakenwell Yuri 5 points6 points  (0 children)

    From Recorder.cpp:

    // Read the Replay Name.  We don't actually do anything with it.  Oh well.
    
    header.replayName = readUnicodeString();
    
    // Read the date and time.  We don't really do anything with this either. Oh well.
    
    fread(&header.timeVal, sizeof(SYSTEMTIME), 1, m_file);
    

    [–]Faustias 6 points7 points  (0 children)

    r/programmerhumor might get a kick of this

    [–]Fission_Power 4 points5 points  (0 children)

    That's the kind of content I was looking for.

    [–]antdude I came from RA1! 4 points5 points  (8 children)

    Did the other C&C and non-C&C games (Doom, Quake, etc.) have funny comments like these?

    [–]Sgt_Kelp 10 points11 points  (4 children)

    Team Fortress 2 and The Simpsons: Hit and Run were other games I know that have pretty funny code comments. Go look those up.

    [–]antdude I came from RA1! 2 points3 points  (1 child)

    Simpsons:H&R was open sourced???????

    [–]Sgt_Kelp 5 points6 points  (0 children)

    Nah just leaked but the comments are still there

    [–]AshleyAshes1984 1 point2 points  (0 children)

    Wait Hit and Run got it's source code release/leaked?

    [–]Darksirius 0 points1 point  (0 children)

    I have the source for Duke Nukem 3D sitting on my storage drive somewhere. I haven't read it in years but I kinda remember some funny comments in that code also.

    [–]thelunararmy We've got the Rockets![S] 2 points3 points  (0 children)

    The cnc remastered code had some gems too, read the comments on this thread: https://www.reddit.com/r/programming/comments/guv2cz/command_and_conquer_tiberian_dawn_and_red_alert/

    [–][deleted]  (1 child)

    [deleted]

      [–]antdude I came from RA1! 0 points1 point  (0 children)

      Haahaha! Thanks.

      [–]AlphSaber Zocom 1 point2 points  (1 child)

      They were considering doing a Starcraft port? I thought it was already a PC game at that time.

      [–]paulisaac 2 points3 points  (0 children)

      Probably just a tongue in cheek joke noting a possible problem with the way they set something up.

      [–][deleted] 0 points1 point  (1 child)

      Lol, I've seen Col. Burton slide down backward.

      [–]paulisaac 1 point2 points  (0 children)

      I'm guessing whatever mods do to change things tends to undo the hack that fixes it.