News for hackers. Stuff that matters.
Re:C++ in Coders at Work by jobu on Friday October 16, 2009 @01:42PM (#885809)
The one point that I see throughout the article is that every programming shop uses it's own subset of C++. Based on coding conventions, library usage, and business domain I have seen how the C++ code used in different companies can look like a different programming language altogether.

My professional experience outside C++ is limited, but I had always assumed this was the same for other languages as well. Is C++ really that much of a different animal from other languages?

Re:C++ in Coders at Work by nradov on Friday October 16, 2009 @02:09PM (#885871)
In my experience with Java, the core language is small enough that every company pretty much uses the whole thing. Almost everyone has finally upgraded to using at least the Java 5.0 syntax by now. Occasionally you'll run across silly rules that prohibit things like the ternary operator or multiple returns, but those are minor differences.

The big differences come into play with frameworks. Depending on whether you're using Struts/JSF/Hibernate/Spring/etc your code may look completely different.

Re:C++ in Coders at Work by tjr on Friday October 16, 2009 @02:26PM (#885903)
Occasionally you'll run across silly rules that prohibit things like the ternary operator or multiple returns

In avionics software, the ternary operator and multiple returns are often avoided to help ensure better code coverage during verification.

Re:C++ in Coders at Work by nradov on Friday October 16, 2009 @03:31PM (#886019)
I don't think anyone is writing avionics software in Java? The automated code coverage tools I have seen handle those cases just fine.
Re:C++ in Coders at Work by nvoorhies on Friday October 16, 2009 @03:36PM (#886028)
They're only doing line-based coverage analysis?