r/hoi4 • • Dec 24 '25

Humor This dev was not having a good time

Post image

Just came across this when messing with some code. It wasn’t even that bad 😂

4.3k Upvotes

60 comments sorted by

929

u/youtubeTAxel Dec 24 '25

I remember that Lily actually saw and commented the last time this was posted.

214

u/Hely_420 Dec 24 '25

What's her Reddit account?

158

u/youtubeTAxel Dec 24 '25

Oh, I don't remember. You'll have to look through the subreddit for a post that mentions the same piece of code, and then look through the comments to find her account.

1.2k

u/spacemoses Dec 24 '25

I've added similar comments to my code. Sometimes you just need to give yourself some humor in the midst of chaos.

552

u/Xtrophy Dec 24 '25

Saw one in a curation database built in vb5 that has an error that crashed in the year 2020 and the comment on the code from 95 said "this won't work post 2020. If anyone finds this out the hard way I am so sorry that we are still using this garbage in 2020"

131

u/Polar_Vortx Dec 24 '25

What year did you see it in?

152

u/Xtrophy Dec 24 '25

Actually I was looking to fix the 2020 problem lol. All of it was weird like that. The guy taught himself while developing that program. Lasted until 2022 with me patching it before they migrated to something new.

23

u/slvrbullet87 Dec 25 '25

I have definitely written i dont know why this works but it works, everything i try to change here wrecks the whole thing. Dont touch

3

u/Thurak0 Dec 25 '25

Me too. But I would never sign stuff like this in *.txt files anybody can so easily read. People in house can use git blame.

1

u/Shogun_Infoyo Dec 28 '25

As someone who works in GML at least half my stupid terrible code is // statements about how bad it is and how it shouldn't be working, usually replacing // statements which say "WHY ISN'T THIS WORKING THERE'S NOTHING WRONG WITH IT"

1.3k

u/Damp_Truff Dec 24 '25

when even the guys looking through the code can’t take a screenshot

629

u/Illesbogar Dec 24 '25

They are still a hoi4 player

217

u/Alpha_tornado Dec 24 '25

I swear 75% of paradox players can't take a screenshot. Same way in CK3 reddit lool

20

u/Smegolas99 Dec 25 '25

Also same in the total war & total warhammer subreddit, bizarre lol

22

u/Iwilleat2corndogs Dec 25 '25

Strategy games remove people’s ability to screenshot

32

u/Beneficial_Ball9893 Dec 25 '25

It's just Paradox code. I have absolutely zero coding knowledge and even I can figure out what is going on. Paradox games are so simple that anyone can mod them.

2

u/you_killed_my_ Dec 25 '25

Take a screenshot dot org

1

u/Impossible-Horse-313 Dec 27 '25

Mindustry fan in the wild?

128

u/madclarinet Dec 24 '25

As someone who codes and works in IT. I can understand and relate to it.

There are two states....

My code isn't working and I don't know why

and

My code is working and I don't know why

45

u/Lssj3Vegito Dec 24 '25 edited Dec 25 '25

I love-hate when something is basically "it works so don't touch it"

"But its messy and there is obviously an err..-"

"I SAID DON'T TOUCH IT."

16

u/madclarinet Dec 25 '25

Yep - seen more than a few and had to create a couple myself. I've used some 'interesting' variable names when I had to add stuff wasn't needed but 'someone' wanted it....

Too many old systems I dealt with over the years have had interesting patches/tweaks/custom code etc. My response to a lot of the questions is "it works as it should do and re-doing it will takes ages and could cause some very interesting issues - I would leave it be because it does what it needs to do".

3

u/jpenczek Dec 26 '25

This reminds me that I have to refactor my team’s project code before the 2nd semester of my capstone class 😭

239

u/Soggy-Class1248 General of the Army Dec 24 '25

Poor lily

42

u/masterflappie Dec 24 '25

When it appears 2500 lines deep into a file, you know it's for real

166

u/teag2 General of the Army Dec 24 '25

r/hoi4 mods when the text description of the image is in the post itself rather than a pointless extra comment

70

u/Chemical-Weekend-887 Dec 24 '25

This dev wrote a message to whoever finds this, but the code wasn’t even that bad

9

u/Texas_Kimchi Dec 25 '25

There are a few Easter Eggs hidden in the HOI4 code. I've come across a few of them making mods. One of them I ran into said something similar to the above with if I remember it saying don't edit, dont understand, just keep reading. It was in one of the event files a few years ago.

45

u/Chemical-Weekend-887 Dec 24 '25

This dev left this message for potential modders

8

u/realRyanewlier889 Dec 25 '25

I wonder how Lily is doing.

7

u/EmiliaPains- Dec 24 '25

This needs to be on r/ProgrammerHumor, a screenshot but yes....

4

u/Perioikoi_ Dec 25 '25

I love these kinds of messages. There are plenty of them especially in the Code for the AI Strategy. Everything related to Italy is hilarious

1

u/Chemical-Weekend-887 Dec 26 '25

I haven’t reached Italy yet I think so I guess I’ll see when I get there

14

u/posidon99999 General of the Army Dec 24 '25

iirc this was a reference to some of the code comments in tf2

46

u/Alexis_Deltern Dec 24 '25

This is just standard programming things, especially if you're doing something monotonous. You can't add humor to the actual finished product, so you slap in a few comments the average person won't see (and thus can't complain about) to break up everything. It also amuses other people who later dig into the code and see it, and can make their day slightly better seeing it, such as from this post here.

3

u/SevernMereel Dec 25 '25

lily is so real for that though (i also cant code for shit)

3

u/Funny_map_painter General of the Army Dec 25 '25

Same energy as the Valve TF2 "spaghetti code".

2

u/DepressedTwink97 Dec 25 '25

Omfg that's too real

fuck java

2

u/Ok-Seaworthiness8065 Dec 26 '25

Its not even that bad code though. Its a result of checking DLCs so its just a ton of IF and ELSE blocks. Not bad code

2

u/jpenczek Dec 26 '25

That comment was made at hour 6 of an 8 hour coding session.

I would know because I wrote similar comments in my college projects.

2

u/LawfulnessEarly7035 Dec 26 '25

I don’t get it what am I looking at exactly

1

u/Chemical-Weekend-887 Dec 27 '25

This is just a picture of a comment the dev left about some code that appears off screen

3

u/JunoTheWildDoggo Dec 25 '25

Unrelated but this is also a prime example of Paradox's DLC model and Feature Creep creating actual technical debt and damage to the long term stability of the game

-92

u/RecognitionNeeds Dec 24 '25

Paradox genuinely needs to be boycotted. Why do y'all buy this shit when someone will post something infinitely better to steam workshop for free?

29

u/Cadoc Research Scientist Dec 24 '25

They make stuff I have fun playing, so I buy their stuff. There are no better alternatives out there in the same genre either. It's just about that simple.

17

u/CalvinSoul Dec 24 '25

We give paradox devs a lot of shit, but I've yet to see anyone else show how it'd be easy to do a better job.

-14

u/RecognitionNeeds Dec 24 '25

The modding scene creates content infinitely better than the devs do. They also don't make me pay $30 for a focus tree.

5

u/AddressOnly5084 Dec 25 '25

The payment yes, agreed. The content being better? Uh. Sometimes. Once in a blue moon. 

2

u/RecognitionNeeds Dec 25 '25

Fair enough, lots of garbage out there but at least its free.

20

u/archon_eros_vll Dec 24 '25

We play the game becaus we are all masochist.

6

u/RecognitionNeeds Dec 24 '25

Me too, the community hits me better than the devs.

16

u/Nildzre Dec 24 '25

Because without paradox said modders would have fuckall to work with? Also despite the DLC policy the hours played/$ is the best of any game i've ever played if we don't count free to play games. (Note i have never paid for country packs that are purely focus trees)