My favourite strange expression [was: Challenge]

Klaus D. Witzel klaus.witzel at cobss.com
Thu Jul 20 08:48:57 UTC 2006


On Thu, 13 Jul 2006 12:39:53 +0200, Bert Freudenberg wrote:

> Heh. My favourite strange expression is this:
>
> # "hi there" :== '_'
>
> 1) Who can guess what the result is WITHOUT trying it?
> 2) Who can explain what's happening?
> 3) Do we need to fix it?
>
> - Bert -

Found another one (relative to #7042):

| philosopher mathematicians |
   mathematicians := 2.
   philosopher := philosopher == mathematicians.
   OrderedCollection new
	addLast: philosopher;
	removeLast: mathematicians;
	size

Questions 1-3 from Bert applicable to *both* issues ;-)

/Klaus




More information about the Squeak-dev mailing list