Hacker News new | ask | show | jobs
by augustk 234 days ago
If the input parameters are invalid there is an error in the program so it makes more sense to use the assert function. Why would you need to undo something due to the restriction of a single point of exit?