|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-09-19 12:40:30
From: "Jeff Faust" <jeff_at_[hidden]>
>
> 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.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net