This page is no longer maintained — Please continue to the home page at

Re: Re: Scala tool for formatting the source code

No replies
Kevin Wright 2
Joined: 2010-05-30,
User offline. Last seen 26 weeks 4 days ago.

On 20 Feb 2011 10:10, "Philippe Lhoste" <PhiLho [at] gmx [dot] net> wrote:
> On 19/02/2011 16:01, Randall R Schulz wrote:
>> I really don't think this sort of program is a useful thing and I don't
>> think it's good for people to have it or to use it. I very strongly
>> believe that we should write our code the way we want it written. What
>> is the real motivation for writing code in a form other than the way
>> you want it?
> Sometime, you get code that isn't your. It can be written by a messy coder or one using conventions that irks you; it can have been messed up by HTML formatters, or imperfect merge tools, etc.
> Such tool can be useful to get at least something readable, for code inspection / study.
> Or just to format to your own rules, when you accept code useful for your open source project, from a programmer not disciplined enough to follow your coding style.

There's also the whole category of code generators, Java->Scala converters, decompilers, etc. Where it's nice to have a common tool that every such project can share, instead of having to reinvent the wheel each time...

> --
> Philippe Lhoste
> --  (near) Paris -- France
> --
> --  --  --  --  --  --  --  --  --  --  --  --  --  --

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland