|
Re: indenting code: msg#00081lang.smalltalk.squeak.beginners
You can find some hints in the book of kent Beck Best smalltalk practices. He stresses the idea to have recognizable block. I like the following. Damien Pollet did Gutenberg a new pretty printer for squeak. Giving him feedback is the best way to see it improved. fooMethod "my comment" (self foo) ifTrue: [ self bar ] barMethod "my comment" (self foo) ifTrue: [ self bar. self grumbleAtBit. self done ] ifFalse: [] ...
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: indenting code, Frank Caggiano |
|---|---|
| Next by Date: | Re: Transfering scripts (was: Stop a script for a second), Bert Freudenberg |
| Previous by Thread: | Re: indenting code, Frank Caggiano |
| Next by Thread: | Block evaluation, Ulrich Hermann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |