|
Re: indenting code: msg#00079lang.smalltalk.squeak.beginners
On Wed, 2006-12-13 at 09:09 -0500, Benjamin Schroeder wrote: > Hi Norbert, > > > Hi, > > > > I'm asking myself if there is any common sense about > > how to indent the code in smalltalk/squeak. > > > > Most of the time I see something like > > > > statement do: [ :parameter | > > otherStatement selector: [ > > mostinnerstatement ] ]. > > > > or > > > > statement do: [ :parameter | otherStatement ]. > > Kent Beck's "Smalltalk Best Practice Patterns" has a good section on > this. He presents ten simple patterns to drive the formatting of > Smalltalk code. > Ok, that is nice. I have this book for several years now :) Thank you for pointing this out. As I have some experience in smalltalk now it is maybe a good time to read it again. thanks, Norbert
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: indenting code, Benjamin Schroeder |
|---|---|
| Next by Date: | Re: indenting code, Frank Caggiano |
| Previous by Thread: | Re: indenting code, Benjamin Schroeder |
| Next by Thread: | Re: indenting code, Frank Caggiano |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |