Re:Google's updated Java coding guidelines
by blt on Wednesday January 29, 2014 @09:17PM
(#7148688)
Interesting how this document focuses on formatting and naming, whereas their C++ style is full of stuff like "don't use exceptions" or "avoid doing too much work in the constructor." I guess Java guides you into a uniform coding style much more than C++.
[ Parent
| on HN ]
Re:Google's updated Java coding guidelines
by vinkelhake on Wednesday January 29, 2014 @09:53PM
(#7148794)
C++ is a sprawling language that lends itself to many different coding styles. It's also a language with many pitfalls. The guide both encourages a common style so that things look uniform and a style that tries to avoid pitfalls.
That said, the C++ guide has a bunch of peculiar quirks.
Re:Google's updated Java coding guidelines
by plorkyeran on Wednesday January 29, 2014 @10:05PM
(#7148829)
A large part of the C++ style guide is basically "don't take advantage of any features Java doesn't have", which obviously doesn't apply to a Java style guide.