Re:C++ Dev Ecosystem 2021
by gravypod on Monday July 19, 2021 @08:43PM
(#27888956)
I'd love to see an age distribution of Java develops vs the other languages. My impression is more experienced developers test their code more often. My other impression is some other developers have large egos and think "I don't need to write tests because I know how to test my code and everything I ship works".
[ Parent
| on HN ]
Re:C++ Dev Ecosystem 2021
by johncena33 on Monday July 19, 2021 @09:37PM
(#27889249)
> My impression is more experienced developers test their code more often.
Java percentage is unit test is so high most probably because it's an enterprise language. And the whole unit test craze started with Java and jUnit.
I think it's even simpler than Java being an enterprise language. Java is a language with a simple grammar and got a working reflection system early on - both facilitated creation of supporting tooling like test coverage reports embedded in the IDE. It's much easier to cover more code with tests when your IDE makes it almost effortless, and constantly reports how well you're doing. And the easier something is, the more often people do it.
I'm sure that "unit test craze" has absolutely nothing to do with Smalltalk, SUnit, Kent Beck and the year 1989. /s