[CCC] False class comment

Dwight Hughes dwighth at ipa.net
Mon Feb 28 02:28:56 UTC 2000


-----------------------------------------------------------------
False defines the behavior of its single instance, false -- logical
negation. Notice how the truth-value checks become direct message sends,
without the need for explicit testing.

Be aware however that most of these methods are not sent as real
messages in normal use. Most are inline coded by the compiler as test
and jump bytecodes - avoiding the overhead of the full message sends. So
simply redefining these methods here will have no effect.

If you want to actually send them as messages, you will need to send
them using #perform:with: and #perform:with:with:.

-----------------------------------------------------------------

-- Dwight





More information about the Squeak-dev mailing list