• 20 Posts
  • 2.78K Comments
Joined 3 years ago
cake
Cake day: July 7th, 2023

help-circle
  • Often “silent” fails are a good thing

    Silent fails have caused me to waste many hours of my time trying to figure out what the fuck was happening with a simple script. I’ve been using -e on nearly all bash code I’ve written for years - with the exception of sourced ones - and wouldn’t go back.

    If an unhandled error happened, I want my program to crash so I can evaluate whether I need to ignore it, or actually handle it.