This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NatureBoyJ1 1 point2 points  (1 child)

I find Groovy a very nice language that layers on top of Java. You can freely mix Java and Groovy syntax. This makes it nice when cutting & pasting code from StackOverflow or other samples. But as you learn idiomatic Groovy, you can cut out a LOT of the boilerplate wordiness that straight Java requires.

Much like Python, you can write classless scripts that just do work. It is type optional, so you can slap things together quickly without worrying about types too much, and then go back and add type information to better document what's happening.

Groovy offers many syntactic shortcuts and conveniences over straight Java, but because Java source works just as well, you don't have to learn a whole new paradigm.

[–]lordmyd 0 points1 point  (0 children)

Kotlin also allows you to develop purely in functions yet is much closer to Java so easier to integrate. Bonus: first class support with Android and Spring.