|
Boost : |
From: Gary Powell (Gary.Powell_at_[hidden])
Date: 2001-06-08 13:45:34
>>
Expressions such as f + 4 or f - f don't make any sense to the user,
however.
== and != are especially bad cases because users who think of 'function' as
a
function pointer would expect them to exist. I can poison all of the
operators, but it hardly seems worth it.
<<
Anytime you can make the compiler detect invalid code its worth it. Bugs
found by running a program are hugely more expensive to find and fix than
one's caught by the compiler. (Never seen by users or QA)
-gary-
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk