I felt moved to comment on a post on Kevin Rutherford's blog, about code design, and forgot to link from here...
I couldn't resist a note of humour about the analogy, but the real point was about design. For the most part I was agreeing with him: Exceptions are no place for routine events. But, "loosing a conditional" was, in my opinion, over egging the pudding. The situation would still need handled, just somewhere else. In the case of his example, by another actor (think micro-service, probably).
Anyway, it's a good post and my comment is below silk and spinach - on paperboys, newsagents and exceptions.
No comments:
Post a Comment