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

  try:
    ...
  except BaseException:
    return "yolo"


Visual Basic was a world leader in this field:

    On Error Resume Next


In BASH, you don't even have to do that: it's the default!


There are no errors in bash, it always does exactly what it wants to.




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

Search: