Win a copy of Practice Tests for OCP Java 17 Certification Exam (1Z0-829) this week in the OCPJP forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Junilu Lacar
  • paul wheaton
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Scott Selikoff
Bartenders:
  • Piet Souris
  • Jj Roberts
  • fred rosenberger

Groovy Fundamentals

 
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
How easy is it to learn Groovy comapared to something like Python?
 
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Will,

I'd say it depends on your background and experience. If you already have experience with Java than it's surely easier to learn Groovy as it uses the same tools and APIs and the syntax is very similar to Java (but more lightweight).


Marco
 
Will Myers
Ranch Hand
Posts: 462
Scala jQuery Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Marco,
I have 10+ years experience with Java and have played around with Python, Scala, and Clojure...so many technologies, so little time!
 
Marco Ehrentreich
best scout
Posts: 1294
Scala IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Then it should be very easy for you to learn Groovy because Groovy is (almost) a super set of Java, so you don't have to learn a completely new syntax. It's also very easy to mix Java and Groovy so that you can always use the right tool for the job because both languages have their strenghts and weaknesses. And of course this makes it easy to gradually migrate from Java to Groovy as you can at first use Groovy only for the parts it makes most sense (for example to write tests).

Marco
 
gunslinger & author
Posts: 158
11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Groovy is essentially the next generation language in the Java family, so if you know Java it's easy to learn Groovy. As the previous commenter said, too, you can add Groovy incrementally to existing Java systems.

If you don't know Java but do know another OO language, then learning Groovy is still straightforward.

If you don't know any object oriented languages (and an increasing number of developers in my training classes fit that category), then you do have that hurdle to overcome, but at this point that process is pretty well understood.
 
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic