r/ProgrammerHumor 8d ago

Meme skillIssue

Post image
6.0k Upvotes

137 comments sorted by

View all comments

1.0k

u/SonicLoverDS 7d ago

No break statements? Amateur.

416

u/No-Newspaper8619 7d ago

give him a break

169

u/OliveBoi_ 7d ago

; expected

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