logo       

Re: indenting code: msg#00076

lang.smalltalk.squeak.beginners

Subject: Re: indenting code

Hello Norbert,


NH> I'm asking myself if there is any common sense about
NH> how to indent the code in smalltalk/squeak.

there also must be some common sense about it but in my case lazyness
rules.

I type without thinking about indentation and let the pretty printer
take care that every method is formatted the same.
(context menu in the code pane, more, pretty print, *after* accepting
changes)

Sometimes I don't like the output but I dislike even more to do it
manually or to change the pretty printer. What I do manually is insert
blank lines between code phrases. This more in Lisp than in Squeak.

I believe that a consistent look is more important than an optimal
look.


Cheers,

Herbert mailto:herbertkoenig@xxxxxxx


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise