r/ProgrammerHumor • • Mar 15 '22

static bool isCrazyMurderingRobot = false;

/img/2g1k34ok5kn81.jpg
4.9k Upvotes

257 comments sorted by

View all comments

Show parent comment

35

u/downloads-cars Mar 15 '22

You mean a goto?

25

u/pag07 Mar 15 '22

goto

Please go die.

43

u/meowcatbread Mar 15 '22

goto die

0

u/[deleted] Mar 16 '22

[deleted] — view deleted comment

1

u/DexCruz Mar 16 '22

please comefrom

5

u/Mugen593 Mar 15 '22

Error: line #'die' not found

4

u/marcosdumay Mar 15 '22

It's the kind of thing that makes people do long jumps.

3

u/didzisk Mar 15 '22

Don't laugh at goto. Linus has written a thorough explanation of why usage of goto in Linux kernel is legit and a good thing.

He's speaking about C, which doesn't have many of the higher level control structures that we often take for given.