News for hackers. Stuff that matters.
Re:Google C++ Style Guide by yuvadam on Sunday February 20, 2011 @02:36PM (#2242765)
Oh, C++. I do not like that language.

I have always felt that C++ is a language too complicated in a time where keeping it simple is key. The fact that it needs a style guide that long says it all.

Re:Google C++ Style Guide by steve918 on Sunday February 20, 2011 @08:23PM (#2243825)
People love to hate on C++, but if your going to, at least hate on things that are actually broken.

For instance every non-trivial language with more than a couple of programmers working with it will have some style (maybe less formal) style guide. Python is often hailed as 'executable sudo-code' yet the community has a style guide, pep8. (Interestingly Google has their own style guide for Python.)

There are plenty of valid reasons to hate on C++, but being a cowboy coder isn't really a valid one.

Re:Google C++ Style Guide by kinetik on Sunday February 20, 2011 @09:26PM (#2243988)
Pseudo.
Re:Google C++ Style Guide by nostrademons on Sunday February 20, 2011 @11:33PM (#2244277)
Is the open-source Google Python styleguide all that different from PEP 8? It seems basically the same in most of the cases that matter.
Re:Google C++ Style Guide by robyates on Sunday February 20, 2011 @11:25PM (#2244257)
Think about it this way: The web browser you are reading this on was likely written using C++. Here's a link explaining why C++ was chosen: http://programmers.stackexchange.com/questions/41883/why-are... Also, 99% of all commercial games for Xbox 360, PS3 and Wii are written in C++ (probably also with some Lua for scripting). Like it or not, C++ is still the dominant language for these domains.
Re:Google C++ Style Guide by robyates on Friday February 25, 2011 @11:23PM (#2264866)
Ok, I know this post is a couple days by now, but if you want to read more the eternal debate that is the C++ programming language, check out this article: http://gigamonkeys.wordpress.com/2009/10/16/coders-c-plus-pl...

There's actually 2 Hacker News posts already linking to this article, so you can read the comments are posted there as well: http://news.ycombinator.com/item?id=885482 http://news.ycombinator.com/item?id=2220917

Re:Google C++ Style Guide by phatbyte on Sunday February 20, 2011 @04:13PM (#2243102)
In order for us to have simple languages they need to be created from low-level ones.

I also think C++ is too complicated, but it's an amazing powerful language, if you master c++ you can pretty much master any language out there.

Re:Google C++ Style Guide by yuvadam on Sunday February 20, 2011 @05:55PM (#2243418)
Obviously we need low level languages. Assembly and C are beautiful languages, even compared to other high level ones. I enjoyed every minute of learning them.

Deep knowledge of C++ is something I would love to have, and I have much respect for those who can grasp all of its concepts.

Re:Google C++ Style Guide by angrycoder on Sunday February 20, 2011 @09:04PM (#2243921)
Regardless of language, that is a fairly terse style guide for a company the size of google. Especially when you consider the scale of their applications.
Re:Google C++ Style Guide by uytghjhgf on Sunday February 20, 2011 @11:30PM (#2244268)
You should see the size of the style guides for the foundation and steelwork on a sky-scraper!

Of course if you are simply building forts out of sofa cushions then you don't need all this.