Groovy Book
Groovy Book
Free!
Minimum price
$4.99
Suggested price
Groovy Book

Last updated on 2018-09-14

About the Book

About the Author

Gábor Szabó
Gábor Szabó

Gabor Szabo has been programming for more than 30 years in a number of languages and in various environments. He used to do DevOps before there was a name for it.

These days he usually helps companies improve their engineering practices by introducing test automation, CI, CD. Sometimes this includes building internal web sites. Gabor also loves explaining things and provides training to his clients.

Gabor also has a number of websites. Each one using a different technology.

Gabor has been writing Perl since 1995 and teaching it since 2000. He is the author of the Perl Maven site including the Perl Tutorial. He has taught web development with Perl Dancer many time including at Perl Conferences in Europe and USA. Gabor is the chief editor of the Perl Weekly newsletter.

He is also the author and maintainer of Perl 6 Maven site that runs on Bailador.

The Code And Talk and Pydigger sites use Python Flask.

Table of Contents

  • Preface
  • Changes
    • v0.02 2018-09-14
    • v0.01 2018-09-13
  • Overview
    • Hello World in Groovy
    • Groovy: read from console (STDIN, keyboard)
    • Groovy value types
    • Groovy: Undeclared variable - runtime exception - groovy.lang.MissingPropertyException
    • Groovy: Number guessing game
    • Groovy: Determine type of an object
    • Groovy: Lists
    • Groovy: sum of numbers
    • Groovy: color selector
    • Groovy: read CSV file
    • Count digits in Groovy
    • Groovy: reading and writing files - appending content
    • Groovy: listing the content of a directory, traversing a directory tree
    • Groovy - Regular Expressions - regexes
    • Groovy map (dictionary, hash, associative array)
    • Groovy: JSON - reading and writing
    • Groovy: Date, Time, Timezone
    • Groovy: import and use functions from another file
  • Index

The Leanpub 45-day 100% Happiness Guarantee

Within 45 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms...

Write and Publish on Leanpub

Authors, publishers and universities use Leanpub to publish amazing in-progress and completed books and courses, just like this one. You can use Leanpub to write, publish and sell your book or course as well! Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks. Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. It really is that easy.

Learn more about writing on Leanpub