On 15 September 2011 13:52, Alexandre Bergel <[email protected]> wrote:
> No, decrease. Scheme forces you to have short functions, which usually begin 
> with a condition or a case statement.

It seems to me you assume that ^ is only used for local returns?

How would you write the following method in Scheme (assuming that
there is something like a #at:ifAbsent: in Scheme)?

    Object>>foo
      bar := zork at: 1 ifAbsent: [ ^ 2 ].
      self andNowForSomethingCompletelyDifferent: bar.

Lukas

-- 
Lukas Renggli
www.lukas-renggli.ch

Reply via email to