Re:Programming Paradigms for Dummies: What Every Programmer ...
by gwright on Monday November 05, 2018 @09:32AM
(#18382537)
Do you understand Design By Contract? That is the theory that provides the distinction between a function/method finishing with success or with failure. The notion of contract is what distinguishes an exception from a glorified GOTO.
[ Parent
| on HN ]
Re:Programming Paradigms for Dummies: What Every Programmer ...
by gwright on Monday November 05, 2018 @07:07PM
(#18387156)
In re-reading, my response comes across as much more flippant than I intended. I was just trying to re-emphasize that the definition of an exception is an integral component of Meyer's design by contract methodology and not a stand alone concept.