yeah, i guess that's the main reason. another one is that root developers probably have c++ background. curly braces on the new line, short and ugly classnames - are the signs of c++ developer in java universe. and since cassandra uses thrift, which is c++ related, it's not a surprise. but i guess it's not that important, though i would explore cassandra's code with more joy, if it was written in a proper code style :)

On 1/28/2012 12:11 AM, Eric Evans wrote:
On Fri, Jan 27, 2012 at 5:36 AM, bxqdev<bxq...@themailbay.com>  wrote:
Hello, Cassandra Developers!

What's the point of the deviation ("important exception") from the Sun's
Java coding convention in Cassandra's java code Style:

"{ and } are always placed on a new line"

Why is that??

That is how it came from Facebook.  Doing it differently afterward
would just make things inconsistent (which is worse), and reformatting
the entire codebase is disruptive on a number of fronts.

Reply via email to