• TheCPUWizard (unregistered)

    Also, remember [thanks Scott M.] the "minimal-yet-complete" paradigm and the "OCP" [thanks Bob M.] -- what is the (hopefully documented and accessible) design paradigm for this class. Since it has a protected member, it must have been designed for some future inheritance [Right?!?] otherwise there would be no protected and the class would be sealed.

  • Jason Stringify (unregistered)

    Poking at that odd function also lead to this more final method:

    *led

  • Michael R (unregistered)

    Did you check git blame? Was it Jim Morrison?

  • (nodebb)

    I don't think we'll need to wait too long for the end...

  • Sauron (unregistered)

    This signals the end of the era of the egregious WTFs (TM), and the beginning of the era of the egregious mega-WTFs++ Service Pack 5 Pro, Enterprise Edition, Unlimited, Enhanced by Artificial Stupidity (TM).

    Brace yourselves!

  • (nodebb)

    Obviously, the developer knew his code was crap so he offered the users a way out!

  • (nodebb)

    kill( getpid(), 9 ); -- how a paranoid and clueless programmer exits

  • db5 (unregistered)

    “But look, you found the notice, didn’t you?” “Yes,” said Arthur, “yes I did. It was on display in the bottom of a locked filing cabinet stuck in a disused lavatory with a sign on the door saying ‘Beware of the Leopard.” ― Douglas Adams, The Hitchhiker’s Guide to the Galaxy

  • (nodebb) in reply to dpm

    Also how a vi(m) newbie exits the editor :-P

  • Foo AKA Fooo (unregistered) in reply to dpm

    Whereas a paranoid and clueful programmer would use "raise (9);" which is moar efficient too!

  • (nodebb) in reply to Sauron

    This Stupidity isn't Artificial at all, methinks...

  • ismo (unregistered) in reply to dpm

    Killing yourself with 9 is fast way to exit program without any cleanup. Surely _exit() does the same but that's too easy.

  • löchlein deluxe (unregistered)

    Ugh, I don't even want to try to remember the semantics of exit w.r.t. finally blocks, global destructors, and whatnot.

  • my name (unregistered)

    Come on, the Doors didn't come to your mind? You're way too young

  • (author) in reply to my name

    This is just a sampling of what's on my Plex server. I do have some Doors, but mostly their Live in Pittsburgh album, which is a real treat for hearing angry Yinzer show promoters trying to get the crowd to leave the venue at the end of the album.

  • Erwin (unregistered) in reply to ismo

    I remember a coworker who had gotten used to log out with kill -9 -1. One day he forgot he had switched to root and killed every process on the server.

  • eric bloedow (unregistered)

    i seem to remember a story about a programmer who had apparently never heard of a "stop" function, or and "end" function, so he used an intentional "division by zero" error every time!

Leave a comment on “Wait for the End”

Log In or post as a guest

Replying to comment #:

« Return to Article