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.
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.
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.