[squeak-dev] Re: Coding style
Nicolas Cellier
nicolas.cellier.aka.nice at gmail.com
Wed Mar 10 21:44:15 UTC 2010
2010/3/10 Andreas Raab <andreas.raab at gmx.de>:
> On 3/10/2010 1:30 PM, Chris Muller wrote:
>>
>> So it seems the main difference is that Levente prefers blocks to
>> start on the same rather than next line. That could probably be made
>> a preference..
>
> FWIW, I think pretty-printing should be implemented by a simple visitor so
> that people can trivially write their own rules. It's fair to have a few
> preferences but I don't think a one-size-fits-all approach can possibly work
> when it comes to style.
>
> Cheers,
> - Andreas
>
Among things I dont like:
source:
test
^16r7F
pretty print:
test
^127
More information about the Squeak-dev
mailing list
|