<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><BR><DIV><DIV>On Aug 26, 2007, at 12:54 PM, Joshua Gargus wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><DIV><DIV>On Aug 25, 2007, at 2:57 PM, Fabio Filasieno wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><DIV>db getBlogposts </DIV><DIV>    | filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV>    | filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV>    | collectMails </DIV><DIV>    | do: [ :mail | "Happy to announce ..."]</DIV></SPAN></BLOCKQUOTE></DIV><BR><DIV>Thanks for the example.  This is a very clean looking bit of code.  However, as others have noted, it's not fair to conclude that you've won the argument after comparing it to:</DIV><DIV>((((db getBlogposts) filter: [ :blogPost | blogPost data &lt; (today - 7 days)]) filter: [ :blogPost | db coolPosts includes: item )]) collectMails ) do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>You can format the above so that it is very close to your example:</DIV><DIV>((((db getBlogposts</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>) filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>) filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>) collectMails</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>) do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>In my opinion, your code looks nicer for two reasons.  You don't need the initial parentheses, and '|' looks nicer to me than ')'.  However, it's been established that '|' is not available, so I tried out your example with some of the other proposals from the thread.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>db getBlogposts</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>` filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>` filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>` collectMails</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>` do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>db getBlogposts</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>$ filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>$ filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>$ collectMails</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>$ do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>db getBlogposts</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>;; filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>;; filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>;; collectMails</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>;; do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>The backtick is perhaps the cleanest-looking alternative, and it doesn't have any conflicting associations with other Smalltalk syntax.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I don't like '$' very much... it looks very "heavy", and it looks a lot like a character literal even though it has nothing to do with them.  I'm not sure how much we benefit by looking familiar to Haskell programmers.  &lt;ducks and covers...&gt;  Probably not as much as by adopting Java syntax to be familiar to the curly-brace crowd ;-) .</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>My favorite is ';;'.  Most importantly, it shares both visual and semantic similarity with the cascade operator, since both operators affect the receiver of the subsequent message.  Also, IMHO it looks quite clean.</DIV></BLOCKQUOTE><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Oops, I forgot about '!'...</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>db getBlogPosts</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>! filter: [ :blogPost | blogPost data &lt; (today - 7 days)]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>! filter: [ :blogPost | db coolPosts includes: item )]</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>! collectMails</DIV><DIV><SPAN class="Apple-tab-span" style="white-space:pre">        </SPAN>! do: [ :mail | "Happy to announce ..."]</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>This falls in to the same category as the backtick, although personally I don't like it as much visually.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I still like ';;' best.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Josh</DIV><DIV><BR class="khtml-block-placeholder"></DIV><BR><BLOCKQUOTE type="cite"><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Josh</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><BR></DIV> </BLOCKQUOTE></DIV><BR></BODY></HTML>