[squeak-dev] Re: Code formatting patterns
Chris Muller
asqueaker at gmail.com
Wed Oct 9 14:43:44 UTC 2013
>> My gripe with [:each | each doSomething] is that word-selection then includes the colon, which is a pain when you want to Command+h, Command+g it.
>
> Now that sounds like it would be easy to fix, no? We should fix the tools, not work around them.
I happen to like whitespace around variable declarations. Bert your
partisanship is really interesting -- how you declare what I'm doing
as "working around it", but "fixing the tools" is not. As if crowded
code is the ultimate goal.
>> Plus, [: each | each doSomething] is consistent with method signatures, an anonymous selector.
>
> Emerson's quote regarding consistency applies. Sorry, could not resist ;)
Cheap shot.
More information about the Squeak-dev
mailing list
|