News for hackers. Stuff that matters.
Re:Generating a Java program with 90% less code by jonfw on Wednesday December 04, 2019 @01:52PM (#21705588)
I absolutely agree, and that is why Java is a great choice for monolithic applications. It's verbose and it's extremely flexible.

The real reason to move away from Java is to move towards different software architectures (microservices!)

Re:Generating a Java program with 90% less code by alasdair_ on Wednesday December 04, 2019 @03:32PM (#21706596)
>The real reason to move away from Java is to move towards different software architectures (microservices!)

This is a SpringBoot microservice:

@RestController public class BasicController {

    @RequestMapping(value="/{id}", method = RequestMethod.GET)
    public String get(@PathVariable("id")Integer id) {
        return doStuff(id);
    }
}

I'm not sure it's any more verbose than the equivalent Ruby on Rails microservice (for example).