5 ms·
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 need
by yuvadam 16y ago
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.
- angrycoder 16y agoRegardless 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.
- robyates 16y agoThink 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-most-browsers-developed-in-c/41921#41921 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.
- robyates 16y agoOk, 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-plus/ 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=885482 http://news.ycombinator.com/item?id=2220917 http://news.ycombinator.com/item?id=2220917
- uytghjhgf 16y agoYou 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.
- phatbyte 16y agoIn 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.
- yuvadam 16y agoObviously 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.
- steve918 16y agoPeople 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.
- kinetik 16y agoPseudo.
- nostrademons 16y agoIs the open-source Google Python styleguide all that different from PEP 8? It seems basically the same in most of the cases that matter.