News for hackers. Stuff that matters.
Re:You’re better off using Exceptions by hinkley on Monday February 03, 2020 @02:09PM (#22227745)
I was watching this the other day:

https://www.youtube.com/watch?v=AnZ0uTOerUI Unconditional Code by Michael Feathers

One solution to this problem is discussed toward the middle: giving data instead of asking for data avoids error conditions. Doing so pushes use of the data farther down the call tree and pulls acquisition up near the top, where we are closer to the user and thus able to more clearly decide what if anything to do about these corner cases.

There are no comments on this comment yet.