I just met your youtube channel while searching for something regarding spring security but after that, I watched some of your other videos as well. They are definitely awesome. Thanks for your work.
This video complements what I was reading about streams, now is time to practice. Congratulations on this, you made so simple the example that you can save hours of reading for some people.
Your style of instruction is truly refreshing. Thank you very much for putting this together. It's fun seeing someone do something that comes naturally to them -- something they're passionate about. That's the vibe I get while watching this and learning from you. I'm definitely going to check out your courses.
using if statements to make decisions are fine if its a truly binary decision, like if a function is passed a Boolean you can use an if statement because that Boolean value can only ever be one of the other. The functionality is predictable and expandable. However if you are using if statements to make decisions that are more complex all of a sudden you have code that is much less maintainable and prone to errors with any future modifications to the code or requirements of said code. Defining decisions through dynamic dispatch is the proper way of making decisions nowadays even if it is slower because it allows the code to be robust across time.
4:19 - doesn't appear to be free anymore, but then again, I'm a few years late watching the video :D Thanks for the content nonetheless! I will also check your website and courses for sure!
Does anyone know if it was a sly video cut or a shortcut used at 2:34 (if it is a shortcut does anyone know what the command is called?) It looks like when trying to type "person" with "pe" it autofilled "people" instead and then "cycled"/"tabbed" to the next variable name.
thank you so much for the brilliant tutorial. may i ask....., are you typing the shortcuts yourself or it is IntelliJ IDEA doing this. I am writing them down by the way for ease of reference. thank you for the effort you put into these tutorials.
I see this all over the place in Java world but, why not splitting those chains in methods with proper names to improve readability? I think that would make Martin Fowler happy 😄 Thanks for the great explanation!
Hi Nelson, thanks for this. Can you please explain how to get images into your comments? Like // Imperative approach ❌ and // Declarative approach ✅ ? My IDE does not show them right like the Github Webpage does. But in your video your IntelliJ did ?!
Great video but something got me really confused. We sorted by Age and then by Gender. I don't get the point of the double sort since it remains the same with before where we just sorted by Age. I mean a list can only be sorted one way normally right ?
Is there any reason to use noneMatch if you can just use anyMatch in this example? can you somehow "reverse" anyMatch so that you can use it instead of noneMatch?
Thank you for this amazing video on Streams in Java. I would like to know your learning approach to new concepts. How do you learn about all these concepts? What's the secret recipe?
Hello, I have a List of an object which contains couple of string fields. Now I want to iterate this list of the object and ensure that a particular string field in this object is not equals to particular string I pass in. How can I achieve this using streams? Thank You
I just met your youtube channel while searching for something regarding spring security but after that, I watched some of your other videos as well. They are definitely awesome. Thanks for your work.
This is the best explanation I've ever heard. You have teaching talent man. Thank you.
This video complements what I was reading about streams, now is time to practice. Congratulations on this, you made so simple the example that you can save hours of reading for some people.
Your style of instruction is truly refreshing. Thank you very much for putting this together. It's fun seeing someone do something that comes naturally to them -- something they're passionate about. That's the vibe I get while watching this and learning from you. I'm definitely going to check out your courses.
I watch this so many times, thank you Nelson.
so many times? sounds like Nelson awfully explained streams and you have to watch again and again to understand =) i'm joking. Nelson, great job!
@@ЮрийАндрейцев-й1з No I just keep forgetting it 🙃
I’m really happy to watch this video. I understood ‘streams’ perfectly that made me annoying. thank u
thank you for your work, Nelson. really appreciate it.
Definitely the best video about streams on RUclips.
I'm glad your tutorials improved over the years. At least for the Spring Boot tutorial. Because this was rough.
Extremely helpful. Stream APIs are so powerful, thank you for breaking this down!
Thank you Nelson, always helping the community!
Wow, thank you very much. You explain so well and easy to understand. Greetings from Germany 👍🏼
I'm Latinoamerican and could say that Great video man, it's awesome!!
Easy to understand and great explanation, thank you!
You are welcome :)
Thank you so much for your tutorial. It help me reduce a lot of code line from doing imperative approach.
I was looking for a good video explaining/showing some methods in #stream(), and this was just awesome. 10/10 good job!
Thanks Nelson, I'm appreciate this vids, because when I finished my formation course just learn the base.
Explained very simply and cleared doubts. Thank you so much Amigoscode :)
Nice explanation. But there's nothing wrong with using if ( multiple conditions ) it's actually faster in most cases
using if statements to make decisions are fine if its a truly binary decision, like if a function is passed a Boolean you can use an if statement because that Boolean value can only ever be one of the other. The functionality is predictable and expandable. However if you are using if statements to make decisions that are more complex all of a sudden you have code that is much less maintainable and prone to errors with any future modifications to the code or requirements of said code. Defining decisions through dynamic dispatch is the proper way of making decisions nowadays even if it is slower because it allows the code to be robust across time.
This is the best explanation that i have ever had. thank you a lot guy for this beautifull job.
Excellent video, stream really are insane! Your explanation was mighty understandable. Valeu amigo
4:19 - doesn't appear to be free anymore, but then again, I'm a few years late watching the video :D Thanks for the content nonetheless! I will also check your website and courses for sure!
Articulate, informative, and succinct - WELL DONE and THANK YOU!
the way you explained is clear. good luck
Thank you
Besides this being a great tutorial, for the first time ever my non-american name is used in an example :')
This is very very wonderful! Thanks a lot! 👏
Man you inspire me ...keep them coming
I will
Thank you
You are good at teaching
I was wondering why the output of sorted didn't change after you added thenComparing(Person::getGender()) to the method at 9:00 ?
for thenComparing it should do changes if we have two persons or more with same ages so females will appear first
@@ImAmericanGangsta yeah it was a bad example. He should have sorted by name instead
Thank you Bro ! Finally i learned streams in Java
Thanks man! Your content is AWESOME! Cheers! :)
What a masterclass. Thank you Nelson
Hey bro, grettings from Johannesburg. Good work, man!
Thank you Nelson for excellent expalnation.
Thank You, Nelson. Your videos are very helpful to me.
Thanks, Nelson
you are a wonderful teacher.
Thank you for this amazing explanation brother! 😄🙌🏾
Followed you from your FCC video on Spring. Thank you for such an informative session! Subbed
Nelson, this is great stuff! Thank you.
Thank you! Very very helpful! 💛
I think with the getAge and getGender in the sort expression, you need to flip getAge and getGender, i.e, do sort by gender first, then by age.
It's was amazing. I love so much yours videos.
Eres un crack!! Thanks and greetings from Argentina🇦🇷
Thank you, Helped me a lot 😃
Seriously well explained!!
Thank you
Amazing video, can't wait to take the course
You have my thanks, you are doing this very well.
Thanks dude. You just saved me some time :D
Best website for learn coding
This was very infomative! I followed along with my own custom made class and I learned a ton! Thanks a million!
Great content, well structure and quality content. Keep posting :)
very useful video and simply explained. Thank you so much bro!!
It's 2020 and I still write code like this. FeelsBadMan
why? it is perfectly fine.
best video for java streams
Thank you! Very clear, very understandable, very comprehendly
Thanks
Great tutorial ! I will do the course for sure.
Thanks buddy
Does anyone know if it was a sly video cut or a shortcut used at 2:34 (if it is a shortcut does anyone know what the command is called?)
It looks like when trying to type "person" with "pe" it autofilled "people" instead and then "cycled"/"tabbed" to the next variable name.
Great explanation! Thank you so much!
Hi @amigoscode, Can you tell me how I can trim strings in the list which are in Ticket class for example, and sort them in ASC order?
Excellent class. Thank you!
thank you so much for the brilliant tutorial. may i ask....., are you typing the shortcuts yourself or it is IntelliJ IDEA doing this. I am writing them down by the way for ease of reference. thank you for the effort you put into these tutorials.
Hi, You really explain so well. Really appreciate it. Thank you
Great job Amigo.
in classical java fashion, complexity gets added left and right
I see this all over the place in Java world but, why not splitting those chains in methods with proper names to improve readability? I think that would make Martin Fowler happy 😄
Thanks for the great explanation!
Amazing video Bro!
Please, make a video on Map vs FlatMap. Thank you!
Can you explain how the values are printed within say sorted.foreach?
What is the shortcut for extracting a variable?
Thank you.
Very well explained, good tutorial, thank you
You welcome
Like your lessons, keep going 👍
thank you for your work! so cool and understandably
Thank you so much bro, keep it up :)
Hi Nelson, thanks for this. Can you please explain how to get images into your comments? Like // Imperative approach ❌ and // Declarative approach ✅ ? My IDE does not show them right like the Github Webpage does. But in your video your IntelliJ did ?!
Well explained, thanks!
Thanks buddy
What is the shortcut key to extract api into variable? Like the one he did at 15:23
quite clear and understandable
Thanks mate for the tutorial...
The best, brother
You can do exactly this kind of thing in JavaScript and Python etc so simply, without the excessive syntax that Java needs.
That's fine.. as long as it gets done
thank you for your work my bro.
Keep up the good work mate
thank you! very insightful
awesome bro thnks ! we want more
Woow, thank u so much for this Amazing video
Great content mate.
Good work, keep going that! :D
Thanks Michal
Great video but something got me really confused. We sorted by Age and then by Gender. I don't get the point of the double sort since it remains the same with before where we just sorted by Age. I mean a list can only be sorted one way normally right ?
Grande Nelson!
That was good man...thanks.
thanks amigo, very well explained
Although streams have greatly reduced code lines what are its actual advantages with respect to processing time & speed & space consumption ?
as far as i know, they are much better when working with large amount of data.
They can be 5x slower.
Many Thanks Dear Nelson
Nicely explained. Nice work!
Thanks
Appreciate simple and structured explanation. Thank you !
this is amazing, thank you so much!
Is there any reason to use noneMatch if you can just use anyMatch in this example? can you somehow "reverse" anyMatch so that you can use it instead of noneMatch?
Thank you for this amazing video on Streams in Java. I would like to know your learning approach to new concepts. How do you learn about all these concepts? What's the secret recipe?
Buy a book and study.. There is no magic recipe for building concepts.. Free Videos have limitations
Hello, I have a List of an object which contains couple of string fields. Now I want to iterate this list of the object and ensure that a particular string field in this object is not equals to particular string I pass in. How can I achieve this using streams?
Thank You
OMGGG DUDE>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> AWESOME