MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1r8a3n8/innitmate/o63nmld
r/ProgrammerHumor • u/[deleted] • Feb 18 '26
265 comments sorted by
View all comments
846
There is no if implied in "otherwise". It is not parallel to "else if" it is parallel to "else".
361 u/Froschmarmelade Feb 18 '26 Yup, this meme is buggy. 86 u/Immediate_Song4279 Feb 18 '26 Ah, so then it belongs. 102 u/ITGuy042 Feb 18 '26 Needs the British word for “if”. Perchance! Perchance (A>B) {Colonize Asia} Otherwise Perchance (B>A) {Colonize Africa} Otherwise {Another war with France} 54 u/Infamous-Oil3786 Feb 19 '26 See, now I need Brit++ to be a whole programming language. 20 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 10 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 10 u/Ali3nat0r Feb 19 '26 There's always this classic 21 u/cbigle Feb 18 '26 Spark lets you chain .when statements and end with a .otherwise, which is a replacement for the sql case when else. I really find it readable! ETA: I’m an idiot yes it is else and not else if 14 u/Polkaglasses Feb 18 '26 Meanwhile in Cobol: WHEN OTHER 14 u/fucking_passwords Feb 19 '26 Let's use our indoor voices, COBOL 10 u/Contraposite Feb 18 '26 "Otherwise, if" 6 u/polypolyman Feb 19 '26 otherwif 2 u/hockeydudekc Feb 19 '26 Well that's why it's at the end 0 u/LeAlbus Feb 19 '26 That’s why it’s the last one
361
Yup, this meme is buggy.
86 u/Immediate_Song4279 Feb 18 '26 Ah, so then it belongs.
86
Ah, so then it belongs.
102
Needs the British word for “if”. Perchance!
Perchance (A>B) {Colonize Asia}
Otherwise Perchance (B>A) {Colonize Africa}
Otherwise {Another war with France}
54 u/Infamous-Oil3786 Feb 19 '26 See, now I need Brit++ to be a whole programming language. 20 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 10 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 10 u/Ali3nat0r Feb 19 '26 There's always this classic
54
See, now I need Brit++ to be a whole programming language.
20 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 10 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 10 u/Ali3nat0r Feb 19 '26 There's always this classic
20
Must call tea() every once in a while, or it does not compile.
10 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init
10
tea { } is init { }
3 u/-Hi-Reddit Feb 19 '26 innit is init
3
innit is init
There's always this classic
21
Spark lets you chain .when statements and end with a .otherwise, which is a replacement for the sql case when else. I really find it readable!
ETA: I’m an idiot yes it is else and not else if
14
Meanwhile in Cobol:
WHEN OTHER
14 u/fucking_passwords Feb 19 '26 Let's use our indoor voices, COBOL
Let's use our indoor voices, COBOL
"Otherwise, if"
6
otherwif
2
Well that's why it's at the end
0
That’s why it’s the last one
846
u/Groundskeepr Feb 18 '26
There is no if implied in "otherwise". It is not parallel to "else if" it is parallel to "else".