5 ms·
Thanks! Does it still under active development? I thought it was kind of dead to be honest.
by MarvelousWololo 8y ago
Thanks! Does it still under active development? I thought it was kind of dead to be honest.
- mindcrime 8y agoHuh? The last new release was less than a month ago. https://blogs.apache.org/groovy/entry/groovy-2-5-3-released https://blogs.apache.org/groovy/entry/groovy-2-5-3-released
- MarvelousWololo 8y agoThat's great news. Sorry, I didn't know. What about its adoption? Do you see companies using around your area?
- mindcrime 8y agoI don't really pay much attention to what other companies are doing, TBH. So I really couldn't say. To the extent that the Tiobe index means anything, Groovy was #28 last time around. https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/
- MarvelousWololo 8y agoI see. That makes sense. What do you particularly like about Groovy?
- mindcrime 8y agoSyntax-wise it's a lot like Java, but without a lot of the stuff that makes Java verbose and tedious, and with the addition of a lot of extra features that allow for much more rapid development. Groovy is dynamically typed, with optional static typing, supports closures, currying, etc., has good support for many other FP primitives, but also fully supports OOP, can seamlessly use pretty much any Java library, has great metaprogramming support, and probably a number of other things I'm forgetting right now.
- MarvelousWololo 8y agoIt looks nice indeed. I'll give it a try. Thanks mate!
- zmmmmm 8y agoI'll chime in as well: in general it's just the most versatile and practical language I've ever come across. I can write it almost like Java if I want so I can do solid engineering with it and it performs almost the same. Then I can write scripts at the command line that get interpreted and they are more concise and powerful than shell scripts. Any time I need to play with or understand a Java API, I can fire up the Groovy REPL and just fool around with it. So it's just an extremely useful language to have in my "tool belt", so to speak.
- MarvelousWololo 8y agoThanks for sharing mate, I really appreciate your point of view and I'll definitely be checking it.
- MarvelousWololo 8y agoShould I start with Grails or is there any other nice web framework I could try?
- vorg 8y agoGrails is on version 3.x but not many people upgraded from version 2.x or are starting new projects in it, and the Grails 2 plugin ecosystem is dead. I don't know of any other web framework which uses Apache Groovy for its scripting. Groovy is mainly used in industry to script Gradle and write glue code for Java. If you want static typing, best skip Groovy and use Java, Kotlin, or Scala which were statically typed from the ground up, instead of having it bolted on in version 2 as did Groovy.
- MarvelousWololo 8y agoThanks for the info. I'm totally ignorant about Java so it might be a dumb question. But Digital Ocean's 1gb droplets are enough to run some Java Restful APIs? I heard that Java is really heavy on memory consumption but I know nothing about it.
- zmmmmm 8y ago