Fwd: [squeak-dev] Re: [ENH] Syntax extension for continuations

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Fwd: [squeak-dev] Re: [ENH] Syntax extension for continuations

Stéphane Ducasse


Begin forwarded message:

Date: November 1, 2010 7:33:55 AM GMT+01:00
Subject: Re: [squeak-dev] Re: [Pharo-project] [ENH] Syntax extension for continuations

You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
[hidden email].


From: stephane ducasse <[hidden email]>
Date: November 1, 2010 7:33:52 AM GMT+01:00
To: "[hidden email] Development" <[hidden email]>
Subject: Re: [squeak-dev] Re: [Pharo-project] [ENH] Syntax extension for continuations


+1

This idea comes up every few years. This post sums up well the last attempt: http://blog.3plus4.org/2007/08/30/message-chains/ .

I don't think it's worth changing the syntax for this. IMHO 1-2 pairs of parentheses usually improve readability. More parenthesis is rarely needed. Also mixing ;; with ; makes the code harder to understand. Try this: self foo ; bar ;; baz ; foo ;; bar ; baz.

Note that the term 'continuation' means a totally different thing: http://en.wikipedia.org/wiki/Continuation .

Stef