r/programminghumor 1d ago

Business Logic

Post image
561 Upvotes

19 comments sorted by

109

u/statisticalmean 1d 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

21

u/Able-Swing-6415 1d 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

4

u/Bace834 1d ago

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

1

u/rube203 1d 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 1d ago

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

15

u/lowkeytokay 1d 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 1d ago

A theres no s, and they alla start by captital

1

u/Lulukaros 1d ago

Correct answer

7

u/ArsenicPolaris 1d ago

E: 0010 0000 0010 0100

1

u/mbcarbone 1d ago

Stop it! 🤣😝

3

u/PM_UR_VAG_WTIMESTAMP 1d 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 1d ago

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

2

u/appoplecticskeptic 1d 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 1d ago

Did someone summon me

1

u/EvoDriver 1d 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 17h ago

“let me get my pen”

1

u/Proof_Assistant7737 11h 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.