Hacker News new | ask | show | jobs
by moondowner 22 days ago
> xmls scattered all over the filesystem

is this comment from 2015?

With e.g. Spring Boot and Gradle you can have large projects with zero xml files needed. That has been the case for years.

3 comments

With Polyglot Maven, you don't even need it in Maven either!

https://github.com/takari/polyglot-maven

Agreed. In my current job, across several large java code bases that have been developed over the last 12 years, the only place I've seen xml come into play is for maven. We've hundreds or more similar scale code bases and I don't think I've ever seen it in use beyond that, though I only occasionally look at those code bases.

No one is ever reaching for xml or even thinking about it.

Even in 2015, we have already started Spring projects without XML configuration.

But you shouldn’t be surprised. Very few people really can code in Spring nicely. For example, configuration in application.properties is still seems to be too complex to understand for most. Most accepted solution on StackOverflow is not the best at all (for example many-many includes unnecessary lines).