I have been following you since the year when I joined and started working as a developer, 15 years ago, you are one of the finest teachers I have ever met. I should really appreciate you as you played an important role in setting up my many fundamental concepts about Java. Thank you.
Hey @pat.310 I would like to know if you can refer to me at your workplace for a Java developer role if there is open position right now? I have 4 years of experience.
Java is on thin ice at the moment. With the arrival of containers almost every code is now write once run anywhere. Only thing going for Java is the large developer base.
async/await support? dynamic optimal hardware thread use like C# or Golang? Fixes to the terrible package manager? Faster web server? Better lightweight containers? Better native dependency injection? ... better ... some tweaks to Constructors. LOL. Who runs this show, and why do they hate Java developers so much?
i am subscribed from last 10 years not even once i get your update in youtube subscription box yt is wants people to watch dance n controversial things but not education thats why less video on education.. we should have edu platform differently..
UA-cam only cares that you are hooked and watching videos. This is why I encourage people to click the bell icon for educational channels, and not entertainment ones.
If the initialization of the super class is expensive, you want it to happen after the validation check. There’s no point in creating an instance if you’re gonna throw an exception in the constructor anyway.
It’s because the purpose of the preview is to share new features with the community and evaluate the response. As a member of the Java community, I’d rather we learn about this than not
You are assuming the validation is the superclass’ concern. What if the validation applies only to the child class? If multiple child classes each required their own validation while the parent class doesn’t care?
@@Java.Brains If multiple child classes require their own validation of a property owned by the parent class, it might be a sign that a redesign is needed. If it's still necessary for each child class to perform its own validation, then using a template method could be a good solution. In many cases, inheritance leads to a rigid design, where child classes end up taking on responsibilities that don't belong to them. If child classes are responsible for validating attributes of the base class, it undermines the principle that the superclass should manage its own state. This could indicate a poor distribution of responsibilities and a violation of fundamental software design principles.
I have been following you since the year when I joined and started working as a developer, 15 years ago, you are one of the finest teachers I have ever met. I should really appreciate you as you played an important role in setting up my many fundamental concepts about Java. Thank you.
Hey @pat.310 I would like to know if you can refer to me at your workplace for a Java developer role if there is open position right now? I have 4 years of experience.
@@TheStoicPlayer64 :D
@@budi22 hello 👋
Looks like java isn't gonna die anytime soon. And I'm very happy about it 😊
It's going no where
Java is on thin ice at the moment. With the arrival of containers almost every code is now write once run anywhere. Only thing going for Java is the large developer base.
But pretty difficult to keep catching up with newer features every single year
Thank you for constantly updating us with the new booms of java ! Really appreciate it.
Thank you for the comment!
Nicely explained 😊
Thank you!
It took 28 freaking years for them to realize that this must have been supported from the version 1.1 😂😂
Finally! hope it comes with stable version.
Yup! I’m almost certain this one is coming!
Superb!
Thank you! Cheers!
Where is your java23 video which you had made, I can't find anywhere on youtube.
async/await support? dynamic optimal hardware thread use like C# or Golang? Fixes to the terrible package manager? Faster web server? Better lightweight containers? Better native dependency injection? ... better ... some tweaks to Constructors. LOL. Who runs this show, and why do they hate Java developers so much?
i am subscribed from last 10 years not even once i get your update in youtube subscription box yt is wants people to watch dance n controversial things but not education thats why less video on education.. we should have edu platform differently..
UA-cam only cares that you are hooked and watching videos. This is why I encourage people to click the bell icon for educational channels, and not entertainment ones.
What's wrong with calling super before doing validation ?
If the initialization of the super class is expensive, you want it to happen after the validation check. There’s no point in creating an instance if you’re gonna throw an exception in the constructor anyway.
When you know the value is invalid and calling super is unnecessary, why would you call super?
Ok thanks 👍
Validation is done before calling the constructor. Why would someone validate in the constructor?
It is super no pun intended 😅
This is a preview not a stable feature, I don't know why the people explain preview features that could be removed on the next lts java.
It’s because the purpose of the preview is to share new features with the community and evaluate the response. As a member of the Java community, I’d rather we learn about this than not
Where are those responses posted? Which are used for evaluation?
I see no point in this feature. If you want to validate that field, then do the validation in the superclass constructor instead of the subclass.
You are assuming the validation is the superclass’ concern. What if the validation applies only to the child class? If multiple child classes each required their own validation while the parent class doesn’t care?
@@Java.Brains If multiple child classes require their own validation of a property owned by the parent class, it might be a sign that a redesign is needed. If it's still necessary for each child class to perform its own validation, then using a template method could be a good solution. In many cases, inheritance leads to a rigid design, where child classes end up taking on responsibilities that don't belong to them. If child classes are responsible for validating attributes of the base class, it undermines the principle that the superclass should manage its own state. This could indicate a poor distribution of responsibilities and a violation of fundamental software design principles.
Java past its Sell By Date