Re:Generating a Java program with 90% less code
by ehnto on Wednesday December 04, 2019 @12:19PM
(#21704239)
There's nothing stopping you from writing uncoupled classes that work like small modules and maintaining them in one repository. Tightly coupled classes are a code smell even in Java, I wouldn't say it's the languages fault, more that the language is used more often in enterprise software and so all the frameworks/libraries/tooling is geared toward monoliths.
[ Parent
| on HN ]
Re:Generating a Java program with 90% less code
by harikb on Wednesday December 04, 2019 @01:27PM
(#21705256)
From a sample size of one - My Python and Go code tend to be fewer lines per file compared to Java, for projects that are similar in complexity. This is not about the terseness/dense nature of the language, but the sheer simplicity in other languages to decouple file structure from class structure (at least within a given directory)