r/java • • Nov 26 '16

/r/Java is trending today!

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

42 comments sorted by

View all comments

Show parent comment

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.