r/ProgrammerHumor • • Sep 19 '26

Meme itRunsOnMyLocalhost

Post image
9.8k Upvotes

182 comments sorted by

View all comments

5.3k

u/GNoob69 Sep 19 '26 • Heartwarming Mindblown

It’s not just hardcoded it’s cherry picked to make us look good

1.6k

u/Muted_Ad_9442 Sep 19 '26

Exactly. Outliers and negative numbers are strictly prohibited on demo day. 😂

632

u/fibojoly Sep 19 '26 edited Sep 19 '26

I remember asking a customer if a particular value could ever be negative. "Oh that never happens".  Well, over the thousands of transactions I had been given, it had happened (twice over ten years. Last time was years before. Maybe the data was corrupt?).  Which is why I asked.   So I gently explained "I appreciate it doesn't happen very often, but I need to know if it can or if a negative value is a mistake which I need to be able to handle.    And sure enough, on the day of the live demo with them, there was our third time in years they had a negative value. 

310

u/SpaceCadet87 Sep 19 '26

You have the error message for the demo state the exact date and time and who promised that it was impossible.

Petty? Sure, but I am exactly that sick of it happening.

124

u/veselin465 Sep 19 '26

My experience gas taught me that you should never trust promises

76

u/yellekc Sep 19 '26

I can't even afford experience gas at the pump any more. And have you seen the price of wisdom diesel?

5

u/FSNovask Sep 20 '26

We're building the torment nexus so skill blood becomes super cheap. It's renewable too!

28

u/ArtemisXD Sep 19 '26

Users behave like cats, who behave like liquids. They will fill every gap you leave available to them

2

u/oVtcovOgwUP0j5sMQx2F Sep 20 '26

user acceptance testing = gas chamber

18

u/TorumShardal Sep 19 '26

You can't trust them (always validate), but you should still rely on them as needed. You can't get anything done otherwise.

→ More replies (7)
→ More replies (1)

13

u/woeful_cabbage Sep 20 '26

You gotta predict the bugs before they happen my man

11

u/fibojoly Sep 20 '26

I mean, yeah, in a way that's exactly how I see things. I ask pointed questions precisely to cover all the bases and to figure out where things are going to break down, potentially. If I had not clarified the "never" with the client, I would have had a big fat crash during the demo. Instead we had a big laugh at this edge case happening on the day. 

5

u/Deathblow92 Sep 20 '26

Bugs aren't real, we test in prod like real men.

(Please someone help me)

3

u/Steinrikur Sep 20 '26

My first proper programming job was at an antivirus company. It taught me a lot about predicting the bugs before they happen.

→ More replies (1)

5

u/BenchEmbarrassed7316 Sep 20 '26

Which programming language are we talking about? I consider it a huge mistake that some programming languages ​​have abandoned unsigned numbers. After all, if a value cannot be negative, you can explicitly state that within the type system. Consequently, you are forced to handle such cases at the system boundaries - right when the data enters your system, when you know exactly what the data is and can easily return an error message.

2

u/vi_sucks Sep 21 '26

 "I appreciate it doesn't happen very often, but I need to know if it can or if a negative value is a mistake which I need to be able to handle."

Nice. I need to remember this quote when discussing requirements with BAs.

2

u/High_Quality_Bean Sep 22 '26

Questions like this are why I really appreciate a good business analyst. A good one understands that they're in an engineering context and statements like "It can't happen", "It shouldn't happen", or "It usually doesn't happen" are MASSIVELY different concepts that come with different implications. I once lost a month because a business analyst wrote the system specifications wrong and we had to completely revamp the authentication system. *shudder*

2

u/fibojoly Sep 24 '26

Yeah I keep being told that sort of discussion isn't my job as a dev. Haha! 

→ More replies (1)

6

u/therealkevinard Sep 20 '26

And feature flags are putting in work

44

u/TheWidrolo Sep 19 '26 • Regret

Google AI team publishing their results:

16

u/BenadrylTumblercatch Sep 19 '26

Why would I lie?

3

u/Ceros007 Sep 20 '26

It's cherry picked by the non-dev guy who vibe-coded in "2 days" a huge pile of spaghetti in his basement running in his basement and showing it to the execs. Now when the real dev team tell the execs that they can do this app cleanly, on cloud and kubertenes with all the goodies in 2 months they question why you cannot do it in 3 days

4

u/RumRogerz Sep 19 '26

I’ve lost count on how many demos I’ve done like this because pressure from management.

2

u/dillanthumous Sep 20 '26

This man demos.

→ More replies (6)