Java Optionals | Crash Course

preview_player
Показать описание
Java Optionals allows you to eliminate NullPointerExceptions throughout your codebase and create client AP's that are easy to interpret what is provided and what might be provided.

The benefits of optionals are:

➡️ Declarative programming ✅
➡️ Clarifies Intent ✅
➡️ Removes Uncertainty ✅
➡️ Functional Programming ✅

PS: Don't forget to subscribe
Рекомендации по теме
Комментарии
Автор

Even for not native english speackers, your classes are very useful. You are a fantastic teacher. Health, love, peace and success!

rolmertelis
Автор

Great tutorial!!!
I'm not an English native speaker, still I got all information i needed))
Thank you!

nazariitkachuk
Автор

I have never seen anyone so clear in teaching. You are born talented.

deepakjava
Автор

Dude i learned more from u in 15 min than a whole semester for my professor. Thx man keep up with the good work.

gulrahim
Автор

Best Java tutorials I’ve seen are on your channel 🙌🏽

Easy_dot
Автор

Hi Amigoscode,


I've just got to know your channel these days and this is a really great channel for me to follow, to be honest. Thank you so much for your time and effort to make your videos.


By the way, during the time watching your videos, I found you used some amazing shortcuts frequently which help to save a lot of coding time. Could your please let me know those shortcuts for:
1. Changing a specific code to method reference, as at 10:07
2. Extracting a variable to hold the value of specific code. For example: List<Vehicle> vehicles = abc.getVehicles();
3. Replacing all of a specific text by another at once, as at 3:32


Many thanks

dangtrithuctran
Автор

amazing explanation, you should create some playlist related to Collections, data structures and best practices. Thanks bro

andrenevesjunior
Автор

Very clearly explained, good examples, thank you. Worth noting that the tutorial is for Java 11. Optionals were introduced in Java 8 but with fewer features e.g. no isEmpty()

gillianbc
Автор

clear, concise and very well explained ! a deep thanks to Amigoscode :)

elmoutaouakkilmohammed
Автор

Very well explained. Thank you for clarifying why it's beneficial to use. I feel like a lot of videos jump right over that.

victoryb.
Автор

That's some great quality content! Thanks for sharing it bro, have a good day

EduardoLima-pifl
Автор

Thanks for doing this. I continue to learn from you on a regular basis!!

KentHervey
Автор

Amazing explanation!! Thank you Nelson.

naoufalkharkhour
Автор

Thank you, great tutorial! Consice and well explained! 💛

kostiantynkarzhanov
Автор

I think this is clear ... and thank you. But I have to observe that as I write a lot of methods that return null as a fallback, explicit null checks are easy and often absolutely necessary depending upon what you need a program to do.

emm_arr
Автор

I watched video about same topic from Coding with John channel and I must say that he have the better desk.

provokator-provocateur
Автор

Thank you so much for your tutorials and explanations, im starting with java and this classes helps me really much. Awsome teacher. You have won a suscriber

facundomartinez
Автор

At 14:25 on line 17 when you are doing the ifPresent check, what is the difference between that and the null check at 0:20, which was a code smell?

vdeschuy
Автор

love the new info... I actually had a ton of repetitive code that could've been solved with this

erickballesteros
Автор

Your explanation is pretty clear. Thanks!

Roberto-lbor