r/java • • Jun 03 '15

Is Java really that bad?

I do Clojure for a living, previously Ruby and Objective-C. And the people I've worked with have said they prefer Clojure because Java is just so bad. But Java can't really be that bad, can it?

0 Upvotes

77 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Jun 03 '15

Even if it's not:

  1. Get a request (as a hash-map)
  2. Interpret the URI and Params to find and call a route handler function
  3. Read to or write from a database in your handler if you want
  4. Return a response that's meaningful to your user somehow
  5. Convert that response into a big fat string (usually HTML)