Re: Scala style guide

2009-11-17 Thread Vassil Dichev
What I don't like about IDEs is that they often gratuitously format your code, assuming everyone must have the same preferences, and there's no way to configure it (or at least few people do). For instance, in several of the ESME files I can already see that indentation spaces are substituted

Re: Scala style guide

2009-11-17 Thread David Pollak
On Tue, Nov 17, 2009 at 2:11 AM, Vassil Dichev vdic...@apache.org wrote: What I don't like about IDEs is that they often gratuitously format your code, assuming everyone must have the same preferences, and there's no way to configure it (or at least few people do). For instance, in

Re: Scala style guide

2009-11-12 Thread Richard Hirsch
Took a look at the guide and it looks good. The question is: do we wait for code beautifier that is based on the guide or do we do format our code ourselves? D. On Thu, Nov 12, 2009 at 12:44 PM, Vassil Dichev vdic...@apache.org wrote: There is an extensive and amazing Scala style guide offered

Re: Scala style guide

2009-11-12 Thread Vassil Dichev
Took a look at the guide and it looks good. The question is: do we wait for code beautifier that is based on the guide or do we do format our code ourselves? I'm not sure there's a non-interactive code beautifier which we can configure (formatting in IDEs hardcodes many configurations).

Re: Scala style guide

2009-11-12 Thread Richard Hirsch
What about doing the formatting in two steps. The first step is automatic and includes dealing with stuff like identing and creating empty method headers. You could probably use existing IDE formatters for that. The second step would be the manual process and would reflect the Style Guide