Immutable Objects in Java

preview_player
Показать описание
Рекомендации по теме
Комментарии
Автор

Watched all 30 of your FREE Java for Beginner videos. Great work, Marcus! 💯

fallenIights
Автор

Hi Marcus, great class! I always use immutable objects especially in my DTO's, like writing my views with DTO's, as I have no set methods the actual data value that enters the inputs is the real value that comes in the controllers. This seems perfect because we prevent the data being manipulated.

dilneicunha
Автор

I have two challenges in life, becoming fluent in English and learning Java. I currently do this at the same time.

otaldepeewee
Автор

Thanks, this is really helpful Mr.Biel.
Does the word "stable" mean "resistant against changing" and thus "resistant against getting into a wrong state" in your video?

mojtabavahdati
Автор

Thanks, great video! My question is: After you have created a lot of immutable instances of the same bank account, how do you know which is the actual balance, taking into account concurrency issues?

sermojohn
Автор

Great explanation! Really enjoyed that. Is the craftsman drawing of you?

MezPahlan
Автор

Have to be careful with immutables as if not used correctly, memory can be affected. It really depends on the type of system that you're designing..

mannysingh
Автор

HI Marcus, I finished these videos- What do I do next?

AS-luwl
Автор

I faced this question in interview panel.... Thanks

tulsi
Автор

Thanks for the video :)

This works great for simple classes, but do you have thoughts on how to construct an abstract class that is (if at least only by trust) immutable?

One of the really big benefits of Java is it's extensibility, which a common abstract class aides. However, without trusting a factory passed to this common abstract class to always (scouts' honour) return a brand new object, I haven't thought how to achieve this yet...

AlexHeavens
Автор

Hello Marcus, is this the same as The creational pattern --> immutable objects pattern ?

tech_excellence
Автор

I have one question we are using hp fortify tool it was showing cross browser scripting vat server side please find me one solution.

harishchowdarysure
Автор

when we use immutable class with another example Please

parmodprajapati
Автор

You speak very slowly. It drags the video out unnecessary and thus makes the video more boring and uninteresting. You should try increasing the tempo

ThatThing
join shbcf.ru