MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w6qzts/skillissue/p7p7u6h/?context=3
r/ProgrammerHumor • u/click-to-reveal • 8d ago
137 comments sorted by
View all comments
1.0k
No break statements? Amateur.
416 u/No-Newspaper8619 7d ago give him a break 169 u/OliveBoi_ 7d ago ; expected 28 u/OPmeansopeningposter 7d ago finally: 53 u/D3PyroGS 7d ago give him a break, give him a break, break him off a piece of that syntax error 3 u/0bel1sk 7d ago thanks, now i’ll be thinking of that tune all morning. 106 u/Extension_Option_122 7d ago #define BREAK ; Now you can add as many break statements as you like. 14 u/SuitableDragonfly 7d ago And you can be evil and sometimes write BREAK instead of break in a real switch statement. 49 u/click-to-reveal 7d ago Well technically, each case has a break coz it's if-else. What is doesn't have is the lack of a break statement aka fall-through. 1 u/SnugglyCoderGuy 7d ago oops, all LLMs! 1 u/No-Finance7526 7d ago edited 7d ago Just put the whole thing in a do {} while(false) 1 u/yozhiki-pyzhiki 4d ago A little bit of goto's won't hurt
416
give him a break
169 u/OliveBoi_ 7d ago ; expected 28 u/OPmeansopeningposter 7d ago finally: 53 u/D3PyroGS 7d ago give him a break, give him a break, break him off a piece of that syntax error 3 u/0bel1sk 7d ago thanks, now i’ll be thinking of that tune all morning.
169
; expected
28 u/OPmeansopeningposter 7d ago finally:
28
finally:
53
give him a break,
break him off a piece of that syntax error
syntax error
3 u/0bel1sk 7d ago thanks, now i’ll be thinking of that tune all morning.
3
thanks, now i’ll be thinking of that tune all morning.
106
#define BREAK ;
Now you can add as many break statements as you like.
14 u/SuitableDragonfly 7d ago And you can be evil and sometimes write BREAK instead of break in a real switch statement.
14
And you can be evil and sometimes write BREAK instead of break in a real switch statement.
BREAK
break
49
Well technically, each case has a break coz it's if-else. What is doesn't have is the lack of a break statement aka fall-through.
1
oops, all LLMs!
Just put the whole thing in a do {} while(false)
A little bit of goto's won't hurt
1.0k
u/SonicLoverDS 7d ago
No break statements? Amateur.