Groovy Tutorial
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
Leave us a comment Cancel reply
COMMON QUESTIONS
Categories
- Agile Coach
- ARTIFICIAL INTELLIGENCE
- Block chain
- Business Analyst BA
- DATA science
- Development
- Devops Automation
- Dotnet
- Education
- Free Job training and assistance
- Information
- Infrastructure automation
- Interview questions
- JAVA
- jobs
- Learn
- Machine learning
- Python Automation
- QA Automation
- RPA Automation
- SAP crm
- Scrum master Agile
- Skill
- UI Design
- Uncategorized
49 Comments
Derek Banas
May 03, 2022 15:10 pmLearn in One Videos for Every Programming Language
Subscribe to Bookmark them: http://bit.ly/2FWQZTx
C++ : https://youtu.be/Rub-JsjMhWY
Python : https://youtu.be/N4mEzFDjqtA
Java : https://youtu.be/n-xAqcBCws4
PHP : https://youtu.be/7TF00hJI78Y
MySQL : https://youtu.be/yPu6qV5byu4
JavaScript : https://youtu.be/fju9ii8YsGs
C# : https://youtu.be/lisiwUZJXqQ
HTML5 : https://youtu.be/kDyJN7qQETA
CSS3 : https://youtu.be/CUxH_rWSI1k
JQuery : https://youtu.be/BWXggB-T1jQ
TypeScript : https://youtu.be/-PR_XqW9JJU
ECMAScript : https://youtu.be/Jakoi0G8lBg
Swift : https://youtu.be/dKaojOZ-az8
R : https://youtu.be/s3FozVfd7q4
Haskell : https://youtu.be/02_H3LjqMr8
Handlebars : https://youtu.be/4HuAnM6b2d8
Bootstrap : https://youtu.be/gqOEoUR5RHg
Rust : https://youtu.be/U1EFgCNLDB8
Matlab : https://youtu.be/NSSTkkKRabI
Arduino : https://youtu.be/QO_Jlz1qpDw
Crystal : https://youtu.be/DxFP-Wjqtsc
Emacs : https://youtu.be/Iagbv974GlQ
Clojure : https://youtu.be/ciGyHkDuPAE
Shell : https://youtu.be/hwrnmQumtPw
Perl : https://youtu.be/WEghIXs8F6c
Perl6 : https://youtu.be/l0zPwhgWTgM
Elixir : https://youtu.be/pBNOavRoNL0
D : https://youtu.be/rwZFTnf9bDU
Fortran : https://youtu.be/__2UgFNYgf8
LaTeX : https://youtu.be/VhmkLrOjLsw
F# : https://youtu.be/c7eNDJN758U
Kotlin : https://youtu.be/H_oGi8uuDpA
Erlang : https://youtu.be/IEhwc2q1zG4
Groovy : https://youtu.be/B98jc8hdu9g
Scala : https://youtu.be/DzFt0YkZo8M
Lua : https://youtu.be/iMacxZQMPXs
Ruby : https://youtu.be/Dji9ALCgfpM
Go : https://youtu.be/CF9S4QZuV30
Objective C : https://youtu.be/5esQqZIJ83g
Prolog : https://youtu.be/SykxWpFwMGs
LISP : https://youtu.be/ymSq4wHrqyU
Express : https://youtu.be/xDCKcNBFsuI
Jade : https://youtu.be/l5AXcXAP4r8
Sass : https://youtu.be/wz3kElLbEHE
Aharon Smith
May 03, 2022 15:10 pm@21:42 how does it know which string comes before the other one? Is it alphabatized?
Jadon Petersen
May 03, 2022 15:10 pmI just started learning Groovy for work, 6 years after this video was uploaded.. =) Found this today..
Bikaraj Singha
May 03, 2022 15:10 pmwhere timestamp
Pranav Deshmukh
May 03, 2022 15:10 pmDerek banas is god of teaching 馃檶馃徎馃檶馃徎馃檶馃徎馃檶馃徎 love each and every tutorial 鉂わ笍
袙邪谢械薪褌懈薪 袗谢械泻褋邪薪写褉芯胁
May 03, 2022 15:10 pmGreetings, 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!
Alexander Semigrodskikh
May 03, 2022 15:10 pmIt's a good one. I didn't expect to encounter closures and pre-existing set methods in classes.
ERICK LONINGO
May 03, 2022 15:10 pmawesome tutorial. straight to the point 馃憦
VideoNOLA
May 03, 2022 15:10 pmAt 54:45, is it possible to return the index of the array item that matches "Sue"?
VideoNOLA
May 03, 2022 15:10 pm33:30 Would the range 'r'..'r' produce (a) 'r, r', (b) 'r' or (c) null?
VideoNOLA
May 03, 2022 15:10 pm26: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!"
Young Grizzly
May 03, 2022 15:10 pmThanks for this primer. I have a new tool that uses this language for automations.
SweetGazelle
May 03, 2022 15:10 pmAlmost 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!!
Jagat Chowdhury
May 03, 2022 15:10 pmWatched the whole video and subscribed. very much understandable and covered a lot. 馃檪
Siva Eswar
May 03, 2022 15:10 pmAwesome Tutorial. Thanks Derek.
讗讜驻讬专 讘谉 讬砖专
May 03, 2022 15:10 pmit was very clear and usefull. thanks.
Daniel De La Rosa
May 03, 2022 15:10 pmIf 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`
AJ Moods
May 03, 2022 15:10 pmHow one can perform delete in list using groovy? Pls reply
BeyondOpenSource
May 03, 2022 15:10 pmThanks Derek! Great intro to start adding Groovy scripts to Jenkins jobs.
Sang Sanga
May 03, 2022 15:10 pmF in chat boys
Am Pro
May 03, 2022 15:10 pmrip groovy
Koen Van Vuure
May 03, 2022 15:10 pm馃檨
Prashant Nandan
May 03, 2022 15:10 pmGreat tutorial
Edwin Prasad
May 03, 2022 15:10 pmThanks Derek. This tutorial is really helpful.
David Boesner
May 03, 2022 15:10 pmGreat video
Vaibhav Teli
May 03, 2022 15:10 pmWatched the whole thing, thank you!!
Nathan Mott
May 03, 2022 15:10 pmGreat video. I watched the whole thing since I love being taught by Ben Stein 馃檪
Chris
May 03, 2022 15:10 pmWatched till the end 馃檪 great video, really good pacing on it
Lukass Lappu姆e
May 03, 2022 15:10 pmPerfect pace. Watched the whole thing. Thank you!
ajmnnit
May 03, 2022 15:10 pmWatched entire video in one shot
Nidhi Kakani
May 03, 2022 15:10 pmGood 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
NimbusClouds
May 03, 2022 15:10 pmThis was absolutely what I was looking for. Thank you sir!
Ra煤l Far铆as
May 03, 2022 15:10 pmgracias, dedique todo mi tiempo a replicar tu c贸digo crear un apunte y verlo detalladamente.
Abhishek Thakur
May 03, 2022 15:10 pmNice video (y). Btw hanged till the end.. Go hard or go Home xD
Corey Albright
May 03, 2022 15:10 pmGood 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
Bill Woods
May 03, 2022 15:10 pmGreat tutorial! Yes, the entire thing 馃檪
Yannick
May 03, 2022 15:10 pmDoes this guy know (the last basics of) every language?
Victor M
May 03, 2022 15:10 pmGreat video !
Thanks
Andy Demetrius
May 03, 2022 15:10 pmgreat video!
S E
May 03, 2022 15:10 pmmuldible
AkiraToriyama13
May 03, 2022 15:10 pmOnce again I am looking for a technology and derek is here to back me up!! Thank you sir!!
Vinay Chonale
May 03, 2022 15:10 pmNice 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….
Zanin FX
May 03, 2022 15:10 pmI 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)
D. F Johnson
May 03, 2022 15:10 pmThanks for this video Derek. Your work is appreciated. Also thanks for the timestamps. Very helpful!
Gourav Pattnaik
May 03, 2022 15:10 pmLoved 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.
Theo Bellash
May 03, 2022 15:10 pmI increased the speed x1.5 and appreciated the video. Thanks
Sammy
May 03, 2022 15:10 pmYou give me flight attendant tutorial vibes
Ghizlane Laaziz
May 03, 2022 15:10 pmwell done
Joshua Jordan
May 03, 2022 15:10 pmWatched the whole video