logoalt Hacker News

Exceptions should not be handled – they should be aggregated

8 pointsby ErystelaThevalelast Tuesday at 2:09 PM5 commentsview on HN

Comments

bluGilltoday at 11:17 AM

There are too many different exemptions to make a blanket statement. Sometimes user entered a wrong value is an exception and you need to handle it. Sometimes the exception is an out of memory error which realistically will never happen in the real world so you can ignore it.

show 2 replies
ErystelaThevalelast Tuesday at 2:09 PM

[flagged]