[CCC] False class comment - v2

Dwight Hughes dwighth at ipa.net
Wed Mar 1 04:02:22 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.

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

This particular version is my comment as edited by Stefan Matthias Aust
and is already in update #1891.

-- Dwight





More information about the Squeak-dev mailing list