r/programminghumor • • Aug 21 '26

Number 1

Post image

Since the other prog humor sub posted an extremely shitty version of this one I saw and saved a while ago... Enjoy.

1.4k Upvotes

60 comments sorted by

39

u/sboger Aug 21 '26

In the interest of fairness and representation, I made this one:

8

u/Top_Pomegranate_8244 Aug 21 '26

This hits too close to home

6

u/NegativeOwl1337 Aug 21 '26

The bar for men really is in hell… 💀

17

u/enigma_0Z Aug 21 '26

Hey at least she’s not `-1`

9

u/sboger Aug 21 '26

That kind of talk is out of bounds, buddy!

9

u/enigma_0Z Aug 21 '26

LOL not in every language

5

u/iggy14750 Aug 22 '26

In Python, indexing by -1 will give you the last element in the list. And that scales back like you expect. -2 is the element before -1 and so on.

5

u/timonix Aug 22 '26

In Ada you can start your array wherever you wish. You can have an array from -45 ..123 if you want.

Or you can have an array go from March .. June as well. Doesn't have to be numbers. But they must be enumerable

2

u/BraucheHilfeLul Aug 22 '26

isnt that just a dict?

2

u/timonix Aug 22 '26

Kinda but not really. If you imagine a sorted dict with each possible key populated. So an array 42 .. 76, cannot take "March" as an input. Because that's not a valid integer.

And the array Jan .. Dec cannot take 4 as an input because it's not a valid member of the set

It's not hashed. So there is no hash lookup penalty.

2

u/DamornTyde Aug 23 '26

In js if you look for an object in an array that ain't there by index, you get -1.

278

u/rhrokib Aug 21 '26 • Bravo

Hope he codes in lua

3

u/Confident_Date4068 Aug 22 '26

Pascal?

1

u/sboger Aug 22 '26

Pedro codes exclusively in Ruby.

109

u/euph-_-oric Aug 21 '26 • Bravo

Does anyone really wanna date a lua programmer?

0

u/[deleted] Aug 21 '26

[deleted] — view deleted comment

14

u/Intelligent_Leg8526 Aug 21 '26

nah they are busy making Steal A Brainrot 2

5

u/Independent_Image_59 Aug 21 '26

Someone probably doing Balatro 2

4

u/hehexdthrow Aug 22 '26

They’re too busy configuring neovim to “program”

3

u/ConsiderMeANoobAlt Aug 23 '26

Was thinking of Roblox and forgot I moved my hyprland config to lua like 2 weeks ago. Was very confused.

13

u/spongedevguy Aug 21 '26

if he did he'd call it a table

5

u/canal_algt Aug 21 '26

This looks like my mom's humor, I'd say it's more probable it's COBOL

4

u/tiredITguy42 Aug 21 '26

Maybe he works as industrial programmer and works with Matlab.

4

u/Leo_code2p Aug 21 '26

I think a few BASIC branches also count from 1 which are probably more dateble.

68

u/JazzRider Aug 21 '26

Who’s going to tell her?

22

u/RonJohnJr Aug 21 '26 • Mindblown

That he programs in GWBASIC?

23

u/sboger Aug 21 '26

That's a red flag right there.

2

u/davidroberts63 Aug 21 '26

I started with that.

I'm dying laughing here...

5

u/RonJohnJr Aug 21 '26 • Bravo

There's 0% shame in someone programming in GWBASIC in 1986.

Of course, it's 2026... 😄

3

u/jakeStacktrace Aug 23 '26

Fine I'll move on to qbasic. Line numbers are kind of annoying anyways.

107

u/Red_Eye_Night Aug 21 '26
importance = ['GTA 6 Leaks', 'Girlfriend', 'r/pcmasterrace', 'weed', 'Taco Bell']

1

u/DamornTyde Aug 23 '26
importance = [
   {name: 'GTA 6 Leaks', why: '?'},
   {name: 'Girlfriend', why: 'girlfriend'},
   {name: 'r/pcmasterrace', why: 'GaMiNg On 4K'},
   {name: 'weed', why: '420'},
   {name: 'Taco Bell', why: 'food'}
]

27

u/FlightAffectionate15 Aug 21 '26

Good thing he codes in R

6

u/GiantSlayer4242 Aug 21 '26

You know there’s a good chance he slipped up and used human speak, or he translated the program to Common so she would understand it

1

u/Mighty1Dragon Aug 21 '26

we will never know

4

u/DarktowerNoxus Aug 21 '26 • Popcorn

Bad programmer or bad boyfriend...

2

u/iggy14750 Aug 22 '26

Is there a difference?

3

u/AltruisticAct8211 Aug 21 '26

Pray he's using 1-based indexing...

3

u/CourageWaste Aug 21 '26

Does she know?

3

u/RemarkableAd1936 Aug 22 '26

Is he programming in Matlab?

2

u/Ben-Goldberg Aug 21 '26

He codes in perl with $[ set to one.

2

u/DevXusYT Aug 21 '26

The girlfriend is called Julia

2

u/Kazimierz3Wielki Aug 22 '26

If he said she is 0, she would leave him

2

u/AintNoGodsUpHere Aug 22 '26

Works in Delphi.

Plus he said number 1. Not index 1.

3

u/Specific_Parfait8829 Aug 21 '26

number one or first index of his array?

9

u/OwenEx Aug 21 '26

This is programming humour, saying number 1 was no mistake

1

u/Traditional-Hall-591 Aug 22 '26

All good, he’s a really a DBA.

1

u/ExtraTNT Aug 22 '26

As long as not index 1, it’s fine…

1

u/mbcarbone Aug 22 '26

Beware!! Her love is mutable…💔

1

u/Barnowl93 Aug 24 '26

He's an engineer and uses MATLAB

1

u/Difficult-Lime2555 Aug 25 '26

makes sense. 0 would reference himself.

2

u/[deleted] Aug 22 '26

[removed] — view removed comment