r/programming • u/knife_sharpener • Feb 22 '15
Java Makes Programmers Want To Do Absolutely Anything Else With Their Time
http://www.forbes.com/sites/quora/2015/02/21/java-makes-programmers-want-to-do-absolutely-anything-else-with-their-time/
35
Upvotes
1
u/kcuf Feb 23 '15
Those are fair points that many developers will agree with. I don't like being forced to use a specific editor -- these requirements feel like bandaids to cover the failures of the language to adapt to how people use it. On top of that, strong tooling doesn't resolve the issue completely: stepping through the application can be invaluable, but I like that to be a backup, not something I have to rely on to understand how the application actually works. Compare for example this piece of a simple web app using ring & compojure in clojure:
Of course this is contrived, but you can see the flow of the application very easily: routes is just a function that takes a request map, and the -> is a standard clojure macro that will take the value and plug it in to the next function as the first parameter, and repeat. So a request will go through the json middleware, then logger, then authentication, and then to the routes function which will match the path and the method, then a response will be fed back through the middleware in the opposite direction.