"The more powerful the language, the easier the libraries are to use." for anyone thinking of reading the title without the body
It's true, you couldn't really do Express in Java, at least not back then.
It's true, you couldn't really do Express in Java, at least not back then.
But Java problem is not the mechanics, it’s that the community doesn’t want nice things.
Anyway, libraries like this were only really feasible after Java 8 because of the reliance on lambdas. Having to instantiate anonymous nested classes for every "function" was a total pain before that.