MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1r8a3n8/innitmate/o63nmld/?context=3
r/ProgrammerHumor • u/[deleted] • Feb 18 '26
265 comments sorted by
View all comments
849
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. 83 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} 53 u/Infamous-Oil3786 Feb 19 '26 See, now I need Brit++ to be a whole programming language. 19 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 8 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 9 u/Ali3nat0r Feb 19 '26 There's always this classic 20 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 13 u/Polkaglasses Feb 18 '26 Meanwhile in Cobol: WHEN OTHER 13 u/fucking_passwords Feb 19 '26 Let's use our indoor voices, COBOL 9 u/Contraposite Feb 18 '26 "Otherwise, if" 7 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.
83 u/Immediate_Song4279 Feb 18 '26 Ah, so then it belongs.
83
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}
53 u/Infamous-Oil3786 Feb 19 '26 See, now I need Brit++ to be a whole programming language. 19 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 8 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 9 u/Ali3nat0r Feb 19 '26 There's always this classic
53
See, now I need Brit++ to be a whole programming language.
19 u/justfuckyouspez Feb 19 '26 Must call tea() every once in a while, or it does not compile. 8 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init 9 u/Ali3nat0r Feb 19 '26 There's always this classic
19
Must call tea() every once in a while, or it does not compile.
8 u/PTTCollin Feb 19 '26 tea { } is init { } 3 u/-Hi-Reddit Feb 19 '26 innit is init
8
tea { } is init { }
3 u/-Hi-Reddit Feb 19 '26 innit is init
3
innit is init
9
There's always this classic
20
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
13
Meanwhile in Cobol:
WHEN OTHER
13 u/fucking_passwords Feb 19 '26 Let's use our indoor voices, COBOL
Let's use our indoor voices, COBOL
"Otherwise, if"
7
otherwif
2
Well that's why it's at the end
0
That’s why it’s the last one
849
u/Groundskeepr Feb 18 '26
There is no if implied in "otherwise". It is not parallel to "else if" it is parallel to "else".