News for hackers. Stuff that matters.
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.
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)
Re:Generating a Java program with 90% less code by ehnto on Thursday December 05, 2019 @01:00AM (#21710303)
What about Java do you think adds lines in regards to file structure?

I must also admit I woild rather ten lines of code and be clear and certain, so being verbose doesn't bother me much.

Re:Generating a Java program with 90% less code by r-w on Thursday December 05, 2019 @02:37PM (#21715656)
With respect to verbosity: Certain, yes. Clear, no. Boilerplate is a thing.