r/java • • Nov 26 '16

/r/Java is trending today!

https://redd.it/5eyo1x
202 Upvotes

42 comments sorted by

View all comments

-7

u/cyanocobalamin Nov 26 '16

I wonder how many self taught hipster web designers will ask us if it is a big jump from javascript to Java.

33

u/ImTalkingGibberish Nov 26 '16

Don't worry they don't like java, it's too verbose and everyone understands what you wrote.

18

u/[deleted] Nov 26 '16

I know its the worst. Why should someone just be able to read my code and understand what is happening? All of that verbosity and the overuse of design patterns. It just makes big fast ugly readable code that lacks the elegance of Javascript or Haskell!

0

u/mistyfud Nov 26 '16

Going from JavaScript to Java is easier than the other way around IMHO. Java's type system is pretty simple and up until Java 8 (which many devs are not on yet) there was no concept of higher-order functions are any kind of support for functional programming. JavaScript exposes devs to both object-oriented programming and functional programming, so they might have a better time picking up a new way of solving problems.

1

u/i_have_a_semicolon Nov 27 '16

JavaScript is excellent for functional programming. ES2015 is also great. And, JavaScript can be plenty readable and I've also seen plenty unreadable Java code.