Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on The melting pot of JavaScript (2017). Parent comment
More verbose than the Python.
>Sure, you probably could build a webapp framework that makes Python a lot more like Java
Not could, did. Literally just did, in 10 lines of code. Or there's flask-rest, which I linked.
>Again illustrating my point that well-written Java is more concise. You don't need to do this! The Java "handlers" I've shown are pure logic.
And flask-rest does that! If you're writing a restful service the more concise, better specialized tooling is readily available.
Now write the unmarshalling code and tell me Java is still more concise.
There are no comments on this comment yet.
More verbose than the Python.
>Sure, you probably could build a webapp framework that makes Python a lot more like Java
Not could, did. Literally just did, in 10 lines of code. Or there's flask-rest, which I linked.
>Again illustrating my point that well-written Java is more concise. You don't need to do this! The Java "handlers" I've shown are pure logic.
And flask-rest does that! If you're writing a restful service the more concise, better specialized tooling is readily available.
Now write the unmarshalling code and tell me Java is still more concise.