News for hackers. Stuff that matters.
Re:Generating a Java program with 90% less code by Andrex on Wednesday December 04, 2019 @01:23PM (#21705202)
> Yes, the secret is to write software that is composed of several modules that operate independently.

This isn't a secret, and in certain corners not even considered generally true -- backlash against microkernels and microservice architectures have intensified in the last half-decade, to give two examples.

Re:Generating a Java program with 90% less code by z3t4 on Wednesday December 04, 2019 @02:26PM (#21705956)
90% of code bases that attempt modulability get it wrong. The idea is to be able to lift out functionality to be reused elsewhere. But what 90% of code bases do wrong is that they move code into modules, but you can not lift out those modes as they depend on all other modules. It might help if you use the words library instead of module. And public API instead of micro service.