Never Write a Getter or Setter in Java Again

preview_player
Показать описание
Use this to never have to write or even SEE a getter or setter in your Java programs ever again.

Hate how much clutter all the boilerplate methods like getters, setters, toString, equals, hashCode and more add to your very simple Java classes? Use Lombok for Java to never have to implement these methods again.

Lombok will auto-generate all these methods and more automatically behind the scenes with simple annotations, and we'll walk through exactly how to use it.

Learn or improve your Java by watching it being coded live!

Hi, I'm John! I'm a Lead Java Software Engineer and I've been in the programming industry for more than a decade. I love sharing what I've learned over the years in a way that's understandable for all levels of Java learners.

Let me know what else you'd like to see!

Links to any stuff in this description are affiliate links, so if you buy a product through those links I may earn a small commission.

📕 THE best book to learn Java, Effective Java by Joshua Bloch

📕 One of my favorite programming books, Clean Code by Robert Martin

🎧 Or get the audio version of Clean Code for FREE here with an Audible free trial

🖥️Standing desk brand I use for recording (get a code for $30 off through this link!)

📹Phone I use for recording:

🎙️Microphone I use (classy, I know):

Donate with PayPal (Thank you so much!)

☕Complete Java course:

Рекомендации по теме
Комментарии
Автор

"Today I'm gonna show you how to never write getters and setters again in java. Make the attributes public"
*Credits*

jhanzaibhumayun
Автор

Oh man, just waiting for this channel to blow up. High quality videos and teaching. These views are gonna skyrocket sooner or later.

AhmedOmar-ufgu
Автор

There is another useful key shortcut for Intellij Idea:
ctrl+insert -> getters and setters -> choose which fields.

alenasuvorova
Автор

ty so much John, I really appreciate your effort in creating all this useful videos, I just got enroled for an internship at a company and I'm trying to learn Java in fast and furious mode and your videos are helping me a lot with all the clear eplinations

lee__
Автор

I learned about Lombok at my job a few weeks ago, and I would have learned it soooo much faster if this video had popped up when I searched for it on YouTube! You teach things so thoroughly. My only advice would be to put the word "Lombok" in the title somewhere so that it will be higher in the search results for the next person!

ovey
Автор

I looked up your videos and there is literally every question i ve been asked on the last interview. KEEP UP.

lashakvatashidze
Автор

Such an underrated channel. As a CompSci student I much prefer learning through content like this than only looking at bland documentation. Would love to feature on the channel some day! Perhaps to present tips to fellow students.

parsabagheri
Автор

John, you are the knowledgeable person, Maven:) who present things in good quality and quantity. I had seen Lombok first time in "The Container Store" project. Waiting for new topics...

orkumo
Автор

Great video Jhon you made my day. I need more videos on this.Thanks

finddhananjayu
Автор

Thank you for all these great, concise Java videos, John. They really are helpful.

whoisnot
Автор

TY I just subscribed I'm teaching myself how to code with some help from my brother but this video was amazing keep up the good work John.

marcuscreese
Автор

"Look at this! Look at all this clutter!" - I started looking around me when hearing this.

Soromeister
Автор

Thanks. Great tutorial. I have learned so much from you just in the last few days.

KamranKhan-drpy
Автор

seem like when I search something
you already have it.
thanks
I have been working as backend engineer for 4 months now completely new.
I taught myself frontend before so now I am completely new and I really love java.
thanks so much
I appreciate your support on youtube

gabrielfono
Автор

Cool! Thank You very much John! Saved to my Java watchlist.

serhiipedchenko
Автор

This is great 👌🏽. Your channel is chock full of gems

jdmhlanga
Автор

Cool explanation. Short and sweet. Although Lombok does save us a lot of boilercodes, I am hoping to see another video of exploring the cons of using that library. Thanks

reach
Автор

Kotlin solves many of Java's issues, including getters/setters. After two years of use, I still haven't had any gripes with it.

TheNewJavaman
Автор

i would love to see more videos on lombok, btw youre videos are great

theroyaltygamer
Автор

"When you're advanced enough to use Maven"
Now I feel like a Java Profesional 😂

fckngcheetah