Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Kids today will never know the joy of "On Error Resume Next"


Man, you made me think of this old gem: https://m.youtube.com/watch?v=Ts96J7HhO28


My greatest shame as a young developer was wrapping a Delphi application in an exception handler and re-running itself when it crashed.


Nono, this is called "let it crash" philosophy, you just reinvented Erlang and you're actually a genius!


It's called

    try { doSomething(); } catch(e) {}
these days. :)


I'm still programming in VBA today. I name the error handling labels try: and catch: and finally: :). My attempt to introduce some modernity into the language (the'try:'-label is obviously obsolete and is a mere indicator).


I've always preferred On Error GoTo Hell


That’s what shell scripts do by default, so I would argue that kids today actually do know.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: