Comment

Comment by milesvp

Yes actually. The courts aren’t there to set law, that is for the legislature. Also by limiting their ruling to the narrowest ruling they can, they keep decisions as local as possible. Courts handle exceptional circumstances, and it’s important they not rule too broadly, else there can be huge overarching unintended side effects of their ruling.

The parallel in programming would be some god class that handles every exception, vs handling exceptions as close to the exception as possible. Generally global exception handling is a bad idea, you want to handle exceptions as close to the context as possible since that is where the most pertinent information in the system lives, and also has the least impact on the rest of the system if the exception can be resolved at a local level.

parent milesvp 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton