Language Books/Tutorials for Groovy

15,116

Solution 1

Here's the obligatory Project Euler link, which is a petty universal means of familiarizing oneself with a new language. The problems are not ideal for learning the more macro aspects of programming ( OOP, Design Patterns, etc), but it will give you a good feel for Groovy's syntax and basic features. I've ground through just shy of 100 of them, with definite results. - Plus, it was fun.

I'd also recommend the Groovy Web Console. You can use it to run your scripts online, but perhaps more importantly, you can browse the scripts of others - I've found this to be rather invaluable, particularly while getting acquainted with Groovy's DSL capabilities.

Solution 2

If you're looking for online tutorials, I recommend reading the Practically Groovy series by Andrew Glover and Scott Davis, as well as the Groovy Goodness snippets by mrhaki which all provide plain, helpful and mostly up-to-date information about the important and pleasant language features.

Solution 3

Shameless plug: I'm one of the co-authors1 of Groovy in Action, which is pretty well regarded in Groovy circles, as far as I'm aware.

There's a second edition in progress - if you order that now, you get early access to the second edition ebook as it's written, and a full copy of the first edition ebook to be going on with.

That said, of course there are plenty of other books around Groovy - with some particularly focusing on one area, such as Grails.


1 Actually I'm more like a glorified editor. While I've touched large portions of the text, I've written very few complete paragraphs, if you see what I mean.

Share:
15,116

Related videos on Youtube

Pratik
Author by

Pratik

Updated on September 21, 2020

Comments

  • Pratik
    Pratik over 3 years

    I am a complete newbie in groovy . I have basic knowledge of Java, C#, .NET and now i want to learn groovy beacause of some reasons like this .

    I have currently started it from here but trying to find something more on groovy like some tutorial,books,any interactive learning aid for beginners of groovy .

    Thanks

  • Pratik
    Pratik over 13 years
    Thanks, i would like to go for 'Groovy in Action' book.Hope it will be good for beginners also.
  • Jon Skeet
    Jon Skeet over 13 years
    @Pratik: It starts from scratch, although it does largely assume that you're comfortable with Java.
  • Pratik
    Pratik over 13 years
    Thanks for the answer, it was great help to me! still would look forward for any online tutorials(if any) like w3schools.com or so..
  • Dónal
    Dónal over 13 years
    Make sure you get the second edition, because the first edition is very out-of-date