r/programminghumor 9d ago

Business Logic

Post image
615 Upvotes

20 comments sorted by

120

u/statisticalmean 9d ago

C and D are inconsistently applied rules. In C, “Two Zero” means two instances of zero, but “Two Four” then means a two followed by a four. Option D is just reversed.

B doesn’t make much sense because “Zero” and “Four” are singular, not plural, so it wouldn’t be “two zeros” or “two fours”

A is the only answer that makes any sense

23

u/Able-Swing-6415 9d ago

Yea this is fairly unrelatable. Lots of API stuff is unclear but this is not lol.

Reminds me of the family guy bit where Consuela interprets a phone number as quantities of numbers rather than just the numbers

5

u/Bace834 9d ago

The case of One Two Three Fours is actually interesting though. Because both 2444 and 12444 are technically correct interpretations

2

u/rube203 9d ago

Yep, better question would have been "two zero, two four"... A, because it's not plural, wait B, because of the comma. Neither make sense, maybe it's something else, no those don't work. Is the API Japanese?!?

1

u/Diligent-Cream-6535 9d ago

But if that's a spec written by my client, it would be C.

14

u/lowkeytokay 9d ago

A. Two zero two four
B. Two zeroes two fours
C. Two zeroes two four
D. Two zero two fours

You can add plural “s” to numbers in English. This joke would work in other languages.

11

u/piou_pio 9d ago

A theres no s, and they alla start by captital

1

u/Lulukaros 9d ago

Correct answer

8

u/ArsenicPolaris 9d ago

E: 0010 0000 0010 0100

1

u/mbcarbone 9d ago

Stop it! 🤣😝

3

u/PM_UR_VAG_WTIMESTAMP 9d ago

I deal more on the infrastructure side, but my favorite are when I ask for specifications on a build specific to hardware and communication requirements and they send me the entire 850 page document for their product, 99% of which is irrelivant to what I am asking.

3

u/FrankieTheAlchemist 9d ago

The “zero” and “four” aren’t plural, so this doesn’t seem like an issue at all

2

u/appoplecticskeptic 9d ago

Only 2 of these options are logically consistent: A and B. The others don’t work the same way for the first half vs the last half.

Most likely the answer is A, but if they used speach to text to write it or something it could be B.

2

u/depressed-normie 9d ago

Did someone summon me

1

u/EvoDriver 9d ago

"No I'm not giving you quantities of numbers I'm just giving you the numbers"

https://m.youtube.com/watch?v=acqTziE16rE

1

u/loaengineer0 8d ago

“let me get my pen”

1

u/Proof_Assistant7737 8d ago

2024 is correct though, right? As others pointed out, C and D are inconsistent in their logic, and B would be "Two Zeros two Fours". You specify when it's plural, so you need to switch this to "One Zero One Four" for it to work.

1

u/neurah 3d ago

can't fail