19 Sep
2002
19 Sep
'02
5:40 p.m.
From: "Jeff Faust"
Something is more maintainable if it is more understood.
Even if it's made more complicated by littering the algorithms with completely redundant return value checks?
Exceptions are meant for exceptional cases. [...]
Define "exceptional cases". How exceptions work is well defined, and therefore can be understood, whereas an "exceptional case" is always assumed to be intuitively obvious.
Staying within expectations may mean sacrificing performance. There is often a trade-off between performance and maintainability. The pros and cons should be weighed and a choice made.
Performance? It's about code clarity, not performance.