Google C++ style guide
google-styleguide.googlecode.com
Google C++ style guide
1–10 of 55 posts
Re: Google C++ style guide
#2—String and Wire (Elements of Modern Programming Style)
Re: Google C++ style guide
#3Also, the guide seems to completely miss templates and actually pretty much allow everything in C++ (except lambdas and exceptions). I don't really see the point then.
Re: Google C++ style guide
#4Code coherence can be accomplished with more relaxed rules if you delegate more responsibility to your engineers.
Re: Google C++ style guide
#5It might sound like a good idea to precisely describe how code should be written, until you realize it's inefficient and useless. Code coherence can be accomplished with more relaxed rules if you delegate more responsibility to your engineers.
Please elaborate.
Re: Google C++ style guide
#6No lambdas allowed? For many other things they say "use within reason", I don't see why they can't say this for lambdas. They're finally making the stl algorithms easily usable. You don't have to write Functors that are in a different place then called. Also, the guide seems to completely miss templates and actually pretty much allow everything in C++ (except lambdas and exceptions). I don't really see the point then…
Re: Google C++ style guide
#7No lambdas allowed? For many other things they say "use within reason", I don't see why they can't say this for lambdas. They're finally making the stl algorithms easily usable. You don't have to write Functors that are in a different place then called. Also, the guide seems to completely miss templates and actually pretty much allow everything in C++ (except lambdas and exceptions). I don't really see the point then…
Well, considering they ban use of exceptions and considering that stl does use exceptions and therefore they cannot use stl, I don't think that they really care.
Re: Google C++ style guide
#8Re: Google C++ style guide
#9Re: Google C++ style guide
#10But it's not exactly a style guide I'd follow strictly in a new project/team.