|
Re: Brace style bias?: msg#00476lang.scala
Miles, I would second this. It was a cause of a lot pain for me when I started writing Rehersal. Additionally, I just prefer BSD style, simply because I can visually 'scan' code to get an overview of its structure - a bit like the way I look at essays to see the paragraphs... Additionally, I would like to be able to write this for classes with longer constructors:- new MyDataLikeClass ( "Hello World", 55.8, "BLAH", ... ) This coding style is useful if you make extensive use of constructor injection (as I do; it minimises the need to then be tempted with pointless accessors and irrelevant temporary variables). Raph Cohn http://rehersal.sourceforge.net |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Is the scala list getting too busy? (correction): 00476, martin odersky |
|---|---|
| Next by Date: | Re: Prioritizing message handling in actors: 00476, David Pollak |
| Previous by Thread: | Brace style bias?i: 00476, Miles Sabin |
| Next by Thread: | Re: Brace style bias?: 00476, Eric Willigers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |