Pipe syntax and the current methods

Bert Freudenberg bert at freudenbergs.de
Thu Aug 30 17:20:58 UTC 2007


On Aug 30, 2007, at 1:52 , Yoshiki Ohshima wrote:

>   Hello,
>
>> Since Pipes makes Smalltalk better at prototyping, Pipes gives me  
>> a sharper pencil.
>
>   I think I know a part of your frustration.  When you are trying make
> the idea rendered into the first cut of code, you really don't want to
> move the cursor back in the characters you typed and insert some other
> stuff just to make it compile and do something.
>
>   Another approach to solve this problem is to make the editor
> smarter.  I could imagine to have a some command-key sequence that
> puts open and close parenthesis around the *last* expression.  The
> definition of the "last" expression may need a clarification but it
> almost sounds like "right before the last statement separater ($.)"
> would be good.  With it, if you type:
>
>   aCollection select: [:each | each isSomething]
>
> and then realize that you actually want to continue to write collect:,
> then you press a key combination and it enclose the above expression
> with $( and $).

+1

- Bert -





More information about the Squeak-dev mailing list