Objected Oriented Typescript #2 - Understanding Objects

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

Love the visuals - this concept is hard for me to understand because I am a visual person, but you make it easy to understand! Thank you!

ZuzanaVolny
Автор

Just a small note to this awesome, awesome video - in other OOP langs saying crush: Player in the definition of the Player class will give you a compilation error. TS does not do that, which is awesome to know.

absurdist
Автор

Thanks for clear explanation. its awesome.

rakeshsingh
Автор

explaining like a bot its perfect dude

risinggfx
Автор

At 2:17 The mental model you gave is wrong. Variables are not pointing to its value. You showed that if two variables has same value then they are also pointing the same one value. It also means that if any one variable's value is changed then the other variable's value is also changed; which is Wrong.

-cs
Автор

I do believe you are discussing reference variables vs value variables JavaScript have both reference and value variables the difference is you don't have control over how to make a specific variable reference or value.

valentineemmanuel
Автор

can you share the source code of each lesson?

gabszyztyle
Автор

Could I ask what theme you were using please

nguyenne
Автор

Great class but very confused with this example. Don't we have to initialize the values in the class in a constructor? VScode is giving me errors that i need a constructor in the class?

zachz
welcome to shbcf.ru