Groovy Tutorial

49 Comments



Code & Transcript Here : http://goo.gl/9VgXlY

Best Groovy Book : http://amzn.to/1YfKGM2

Support me on Patreon : https://www.patreon.com/derekbanas

00:23 Install
03:36 Math & Basics
13:58 Strings
21:51 Output
23:52 Input
25:52 Lists
30:10 Maps
32:51 Range
35:15 Conditionals
40:38 Looping
43:48 Methods
50:56 Closures
57:28 File IO
1:00:44 OOP

I have made learn in one videos for most every language and today based on your requests I will teach Groovy in One Video. We’ll learn how to install on Mac and Windows. Then I’ll cover the Basics, Math, Strings, Output, Input, Lists, Maps, Range, Conditonals, Looping, Methods, Closures, File IO, OOP and a ton of other topics in between. By the end you’ll learn as much as you’d learn in a standard 250 page book on Groovy.

Thank you to Patreon supports like the following for helping me make this video

https://www.facebook.com/cottageindustriesbuild/
@kyleaisho
@thetwistedhat
vjFaLk

source

49 Comments
    • blank
      Aharon Smith
      May 03, 2022 15:10 pm Reply

      @21:42 how does it know which string comes before the other one? Is it alphabatized?

    • blank
      Jadon Petersen
      May 03, 2022 15:10 pm Reply

      I just started learning Groovy for work, 6 years after this video was uploaded.. =) Found this today..

    • blank
      Bikaraj Singha
      May 03, 2022 15:10 pm Reply

      where timestamp

    • blank
      Pranav Deshmukh
      May 03, 2022 15:10 pm Reply

      Derek banas is god of teaching 🙌🏻🙌🏻🙌🏻🙌🏻 love each and every tutorial ❤️

    • blank
      Валентин Александров
      May 03, 2022 15:10 pm Reply

      Greetings, Derek!

      I needed to get the basics behind Groovy so that I can do a task of mine and your video was excellent for me personally.
      I've background in other languages, so this video was easy for me to follow and I was fascinated by the ability to use range in side of Switch statement – just wow 😀

      Happy New Year by the way!

    • blank
      Alexander Semigrodskikh
      May 03, 2022 15:10 pm Reply

      It's a good one. I didn't expect to encounter closures and pre-existing set methods in classes.

    • blank
      ERICK LONINGO
      May 03, 2022 15:10 pm Reply

      awesome tutorial. straight to the point 👏

    • blank
      VideoNOLA
      May 03, 2022 15:10 pm Reply

      At 54:45, is it possible to return the index of the array item that matches "Sue"?

    • blank
      VideoNOLA
      May 03, 2022 15:10 pm Reply

      33:30 Would the range 'r'..'r' produce (a) 'r, r', (b) 'r' or (c) null?

    • blank
      VideoNOLA
      May 03, 2022 15:10 pm Reply

      26:30 I honestly had not expected array indexing to be 1-based in Groovy, but if so, that's brave and probably a boon for n00bs. <20 seconds lay-terrr> "Oops, the arrays are zero-based, psych!"

    • blank
      Young Grizzly
      May 03, 2022 15:10 pm Reply

      Thanks for this primer. I have a new tool that uses this language for automations.

    • blank
      SweetGazelle
      May 03, 2022 15:10 pm Reply

      Almost 6 years later, this comes as a lifesaver. You are simply AMAZING. Your way of constructing a video is TOO good, I have been looking far and wide for this kind of format, where the information is simply given in a concise manner, and you delivered even more! It's a struggle to watch a 2 minute video for me, but I sat through the whole hour and didn't feel the time passing. Every single information is vital, and this answered every single question I had in the most pleasant manner. I CANNOT thank you enough for your tremendous effort and your lovely soul, THANK YOU!!

    • blank
      Jagat Chowdhury
      May 03, 2022 15:10 pm Reply

      Watched the whole video and subscribed. very much understandable and covered a lot. 🙂

    • blank
      Siva Eswar
      May 03, 2022 15:10 pm Reply

      Awesome Tutorial. Thanks Derek.

    • blank
      אופיר בן ישר
      May 03, 2022 15:10 pm Reply

      it was very clear and usefull. thanks.

    • blank
      Daniel De La Rosa
      May 03, 2022 15:10 pm Reply

      If you got an error like this "groovy: JAVA_HOME is not defined correctly, can not execute: /usr/libexec/java_home -v 1.8.301.09 (x86_64)/bin/java" while trying to execute the groovy interpreter/compiler
      It is because java now gives the output version parsed different (before=version, architecture now=version (architecture)", so instead of typing export JAVA_HOME=`/usr/libexec/java_home -v 1.8.301.09 (x86_64)` delete both parenthesis and put a coma to separate the version from the processor architecture and type something like this:
      export JAVA_HOME=`/usr/libexec/java_home -v 1.8.301.09, x86_64`

    • blank
      AJ Moods
      May 03, 2022 15:10 pm Reply

      How one can perform delete in list using groovy? Pls reply

    • blank
      BeyondOpenSource
      May 03, 2022 15:10 pm Reply

      Thanks Derek! Great intro to start adding Groovy scripts to Jenkins jobs.

    • blank
      Sang Sanga
      May 03, 2022 15:10 pm Reply

      F in chat boys

    • blank
      Am Pro
      May 03, 2022 15:10 pm Reply

      rip groovy

    • blank
      Koen Van Vuure
      May 03, 2022 15:10 pm Reply

      🙁

    • blank
      Prashant Nandan
      May 03, 2022 15:10 pm Reply

      Great tutorial

    • blank
      Edwin Prasad
      May 03, 2022 15:10 pm Reply

      Thanks Derek. This tutorial is really helpful.

    • blank
      David Boesner
      May 03, 2022 15:10 pm Reply

      Great video

    • blank
      Vaibhav Teli
      May 03, 2022 15:10 pm Reply

      Watched the whole thing, thank you!!

    • blank
      Nathan Mott
      May 03, 2022 15:10 pm Reply

      Great video. I watched the whole thing since I love being taught by Ben Stein 🙂

    • blank
      Chris
      May 03, 2022 15:10 pm Reply

      Watched till the end 🙂 great video, really good pacing on it

    • blank
      Lukass Lappuķe
      May 03, 2022 15:10 pm Reply

      Perfect pace. Watched the whole thing. Thank you!

    • blank
      ajmnnit
      May 03, 2022 15:10 pm Reply

      Watched entire video in one shot

    • blank
      Nidhi Kakani
      May 03, 2022 15:10 pm Reply

      Good work Derek!!! It's clearly visible that how much hard work you did in just a single video. Hats off to you! Please make one more video for "Advance Groovy Concepts". Thanks

    • blank
      NimbusClouds
      May 03, 2022 15:10 pm Reply

      This was absolutely what I was looking for. Thank you sir!

    • blank
      Raúl Farías
      May 03, 2022 15:10 pm Reply

      gracias, dedique todo mi tiempo a replicar tu código crear un apunte y verlo detalladamente.

    • blank
      Abhishek Thakur
      May 03, 2022 15:10 pm Reply

      Nice video (y). Btw hanged till the end.. Go hard or go Home xD

    • blank
      Corey Albright
      May 03, 2022 15:10 pm Reply

      Good job Derek, sorry you could not get to exception handling and inheritance, but as always. I watched the entire video.

      I posted the repo at: https://github.com/Ilikef150s2/groovy_refresh

      But it is private so those who want access need to request by replying to this thread. Thanks again

    • blank
      Bill Woods
      May 03, 2022 15:10 pm Reply

      Great tutorial! Yes, the entire thing 🙂

    • blank
      Yannick
      May 03, 2022 15:10 pm Reply

      Does this guy know (the last basics of) every language?

    • blank
      Victor M
      May 03, 2022 15:10 pm Reply

      Great video !
      Thanks

    • blank
      Andy Demetrius
      May 03, 2022 15:10 pm Reply

      great video!

    • blank
      S E
      May 03, 2022 15:10 pm Reply

      muldible

    • blank
      AkiraToriyama13
      May 03, 2022 15:10 pm Reply

      Once again I am looking for a technology and derek is here to back me up!! Thank you sir!!

    • blank
      Vinay Chonale
      May 03, 2022 15:10 pm Reply

      Nice one Derek… Much appreciated.. can you make one more video on Advanced Groovy script or anything you feel is missing in this or scenario based….

    • blank
      Zanin FX
      May 03, 2022 15:10 pm Reply

      I would like a help, I would like to create a line with this sum to be equal to a moving average

      Thank you very much

      Sum((2*close-high-low)/(high-low)*volume,20)/Sum(volume,20)

    • blank
      D. F Johnson
      May 03, 2022 15:10 pm Reply

      Thanks for this video Derek. Your work is appreciated. Also thanks for the timestamps. Very helpful!

    • blank
      Gourav Pattnaik
      May 03, 2022 15:10 pm Reply

      Loved the video Derek. I as wandering if you have or do you plan to make a detailed video on closures? Would love to hear back from you.

    • blank
      Theo Bellash
      May 03, 2022 15:10 pm Reply

      I increased the speed x1.5 and appreciated the video. Thanks

    • blank
      Sammy
      May 03, 2022 15:10 pm Reply

      You give me flight attendant tutorial vibes

    • blank
      Ghizlane Laaziz
      May 03, 2022 15:10 pm Reply

      well done

    • blank
      Joshua Jordan
      May 03, 2022 15:10 pm Reply

      Watched the whole video

Leave us a comment