Private Public in Typescript

preview_player
Показать описание
Welcome to a youtube channel dedicated to programming and coding related tutorials. We talk about tech, write code, discuss about cloud and devops. That’s what we do all day, all year. We roll out a lot of series and videos on our channel.

All the learning resources such as code files, documentations, articles and community discussions are available on our website:

You can find our discord link, github link etc on the above website.

Рекомендации по теме
Комментарии
Автор

00:01 This video discusses the modifier keywords 'public' and 'private' in TypeScript.

00:48 Learning from other people's code

01:34 In Typescript, we cannot assign values to read-only properties.

02:19 Private members in Typescript are only accessible within the class.

03:06 Remember that everything you don't mark is public.

03:54 Private keyword in TypeScript provides better clarity and ease of understanding compared to the hash symbol in JavaScript.

04:41 Using public access modifiers in TypeScript

05:25 Setting a variable as private in Typescript.
Amaing session, Learn alot.

SarveshKumar-
Автор

Finally the typescript videos are coming.

venkatramanbehera
Автор

I think you missed one video which is on classes.

funshot
Автор

Hey Hitesh, I just completed this awesome couse. Thank you very much for such amazing content. On the topic of private methods i did some research and found that using # is better if you want to implement hard security as
compiler will create weakSet and weakMap whereas using private keyword just throws error during type checking . Your point is also valid that private accessor is used if you are willing to expose it on other end and want to implement error on programmers end only.

anmolsharma
Автор

after the 15th video 'interface vs type in typescript' the 16th video 'public private in typescript' is a whole different thing. did anything else i miss after the 15th video. he is using something called watch mode. what is this now ?? why he stopped using export {}. where did i missed all these things ??

Shan-dxli
Автор

Thanks hitesh for typescript videos.
I am going to attend Frontend interview.these are the topics i have been covering
Javascript = hosting, object, object.prototype, async, Do i need to cover oops?
React = hooks, redux, state and props.
Need your guidance on Typescript.

jayakumar
Автор

I have the same desktop mat, looks like you too are a travel freak like me !

amanagarwalx
Автор

I am getting error when I am declaring variable using #.

ankushladani
Автор

make next js + typescript+tailwind project video in hindi please

therealdhruv
Автор

is it me or this topic seems decoupled from the previous topics?

subham_
visit shbcf.ru