> I'd actually never bothered to look at the line limitation, that's from > back when I started programming. Mostly I was just soooo happy that > someone > had short-circuited the endless "whether braces should be on the same line > or not" discussion. <G>.... > > P.S. the ''very'' is really an italic. > > P.P.S. Why programmers are different than the rest. Not _only_ have I been > in the very "where should the braces go" discussions at various points in > my life, but there's a Wiki article that's far too long....
For brace style, I believe that lucene currently uses 1TBS. Where I work, we are expected to use Allman. Before starting here, I used 1TBS in my own code. Allman is easiet to follow, vyt uses up a loy of vertical real estate. I have no real opinion on whether brace style should change. A slightly different topic is whitespace on otherwise blank lines. There is no consistency in Lucene here. I have no strong opinion one way or the other, but I will note that the Eclipse format settings created by 'ant eclipse' add the whitespace. Getting back to the subject of this thread, I am torn. I use two programs to edit Solr code -- vi and eclipse. For vi (in PuTTY windows) 80 would be best. For eclipse (in windows 7), something like 100 would be better. I do not maximize program windows, because I like to see what's going on in background windows. My eclipse window is large, but does not use the whole 1600x1050 area. 120 seems large, but it would work. Thanks, Shawn --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
