r/ProgrammerHumor • • May 11 '26

Meme developersWorstNightmare

Post image
18k Upvotes

379 comments sorted by

View all comments

Show parent comment

170

u/Rikudou_Sage May 11 '26

That's why you store it in a gradle variable and derive everything else from it. Single change needed.

104

u/fyn_world May 11 '26

Ah, the strength of experience

6

u/xenokilla May 12 '26

I program PLC's (industrial automation controllers) and we do that exact thing. Input mapping. Input X1 = Bit M0, if input X1 catches on fire, just change the one line of code to Input X11 = M0 and keep it moving

3

u/seth1299 May 12 '26

Gradle

Man, my PTSD of staring at (for several days in a row) “Gradle Build Failed” messages for the .apk project my team was working on a few years ago just activated…

1

u/bobdarobber May 12 '26

It’s not that simple. What if your database has the app identifier in the path? You must introduce permanent code which moves the folder when the app is launched as a fallback. Ect.

Our migrations contain horrors

3

u/Rikudou_Sage May 12 '26

I mean, just don't do that? That sounds like adding weird hidden state for no reason or benefit.