Hacker News new | ask | show | jobs
by DictumMortuum 2330 days ago
I worked at a telecom company. They had a program written in java for generating the initial customer configuration.

Among other stuff it used exceptions as control flow and it made me make extraordinarily high estimations for seemingly simple changes.

Anyway, I don't think I agree with the article - it's again the matter of the knife and how you use it.

2 comments

> it's again the matter of the knife and how you use it.

The author makes this point repeatedly: exceptions would be great if all programmers were above average, but (of course) they're not. In practice the knife is juggled and thrown (heh) and generally mishandled so much that the floor is covered in blood. This gets us into pg's whole "blub" design-for-geniuses vs. design-for-idiots discussion, with is basically dueling strawmen, so I'll bow out there.

I feel like with errors we're always in a state of sin because the way errors create a combinational explosion of code paths.

The only thing I have to say is I have a distaste for throwing exceptions across API boundaries.