+ 1 And I know that you read kent patterns. We got all brainwashed with them.... I;m still hoping that his book will be out of print :) For now rebuying one for the team here since some guys messed up my nice and clean version. Stef
On Mar 3, 2010, at 16:53 , Yanni Chiu wrote:
Isn't readability a matter of taste, or were experiments done?
Indeed. As long as we don't carry out usability studies, we don't know what is better and we have to resort to personal taste. When I said "I don't like x" I also meant "I find it is less readable". Yanni gives a good argument below.
In any case, I don't want to start an endless discussion about formatting, but I think it is interesting to get the different opinions to be able to come up with a formatter that works for as many people as possible.
What we probably all agree on is that a common convention (or automatic formatter) for code in PharoCore would improve readability in comparison to the current situation in which we have all sorts of formatting.
Cheers, Adrian
IIRC, the arguments for productivity had to do with everyone just accepting one standard - not that one standard was "better" than another, just that there be *one* team standard (in the interest of productivity).
I prefer the "hanging left bracket" because it allows the subsequent lines to have the same tabbing. That makes me faster, without requiring an automatic formatter.
-- Yanni
Chris Muller wrote:
Well, Kent makes a well-reasoned argument for Rectangular Block, readability and productivity. "I don't like it" is just a statement of someone's personal taste, a non-starter in terms of a useful discussion about formatting.
My goal is to make the system more productive and, by my experience, that's what these formatting patterns accomplish.
- Chris
On Wed, Mar 3, 2010 at 3:51 AM, Torsten Bergmann <astares@gmx.de> wrote:
what do you mean by now used? Did they change that recently? According to http://planetmisc.squeak.org/ a new package Compiler-cmm.131.mcz is now in Squeak inbox and may find its way into trunk ...
I don't like Beck's rule "3. Rectangular Block" vs. So for me personally, Beck's rule 3 is the one that looks better. And there we have them: discussions on what looks better :)
Bye T. -- Sicherer, schneller und einfacher. Die aktuellen Internet-Browser - jetzt kostenlos herunterladen! http://portal.gmx.net/de/go/atbrowser
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project