
5 Jul
2006
5 Jul
'06
6:11 p.m.
-----Original Message----- From: boost-bounces@lists.boost.org [mailto:boost-bounces@lists.boost.org] On Behalf Of Dean Michael Berris Sent: Wednesday, July 05, 2006 11:07 AM To: boost@lists.boost.org Subject: Re: [boost] Exception lib?
It's probably a personal issue against the use of dynamic_cast<> or static_cast<> and even const_cast<> because IMHO it makes code terribly un-readable and even seem "hackish". It's my personal opinion that whenever you need to resort to casting in client code, then that means the design of the solution isn't as elegant or as well thought out as it could be.
Not to mention that the client can and will do it wrong.