Whenever a language has a goto statement I can't resist :

On error goto hell
// code
// error handling

  • 2
    Whenever a piece of code has a goto statement
    I can't resist:

    Punching the person who wrote it in the face.

    Sorry. I can't help it. I hate gotos almost as much as I hate hipsters with curly mustaches.
  • 4
    Oh, gotos have their use, primarily for deallocating if a function fails in the middle. Linux kernel is full of them, with this use caw. It's a good thing we teach students never ever to use them, though, because they should always be last resort. But what do I know, I just curled my mustache ;D
  • 0
    @Gauthier *head explodes*
Add Comment