[squeak-dev] Formatting?
tim Rowledge
tim at rowledge.org
Thu Jun 2 00:42:39 UTC 2016
Now I *don’t* like this
> > coll do:
> > [ :each |
> > statement1.
> > (condition1) ifTrue: [ statement2 ] ]
At least if applied vigourously. When there are *short* statements I’d rather see
coll do: [:each| statement]
or
coll do:[:each| (condition) ifTrue:[statement]]
etc, keeping as much as possible nicely compact.
I find pretty-print makes code far too ‘tall’ for my taste - oh and hardwrapping comments is really annoying!
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Only playing with 51 cards.
More information about the Squeak-dev
mailing list
|