What is "State" in Programming?

  Рет қаралды 89,264

Academind

Academind

Күн бұрын

Пікірлер: 84
@samuelvalentine7846
@samuelvalentine7846 3 жыл бұрын
the person that disliked the video is in a bad state
@iamchange_x
@iamchange_x 3 жыл бұрын
agreed
@samuelvalentine7846
@samuelvalentine7846 2 жыл бұрын
It's funny and surprising when I look back at how I was when I started programming. Almost two years later, I can't believe I improved this much.. For anyone who might be watching this, just relax and try to understand what you're learning by practicing.. The only thing that cannot be faked is mastery. It only comes from practice
@samuelvalentine7846
@samuelvalentine7846 2 жыл бұрын
@Jose Francisco Jimenez thanks.. not at all.. I do not have a CS degree.. I just teach myself from KZbin and Udemy
@samuelvalentine7846
@samuelvalentine7846 2 жыл бұрын
@Jose Francisco Jimenez not really, i just put in alot of hours..
@serwaapreimann
@serwaapreimann 10 ай бұрын
😅
@ahmedsharif397
@ahmedsharif397 3 жыл бұрын
We Want a Playlist of What is .... in Programming 😍😍😍👍🏼👍🏼🙏🏼❤
@umslopogaas
@umslopogaas 3 жыл бұрын
@Grady Rowen Mate, you really gotta pay 16bucks? Does that work for sure?
@fernandorendon8618
@fernandorendon8618 3 жыл бұрын
I like to explain State as a chess game anotation: You could play a whole chess game by writing down which piece moves where each turn. In fact kings use to play chess this way with other kings. Each had their own board (interface) in their own castle, which looked the same, because they "updated the state" every time they got a letter with the opponent's move.
@TwenOalley
@TwenOalley 3 жыл бұрын
I think they call that correspondence chess.
@miraclenerdkidchiki6249
@miraclenerdkidchiki6249 Жыл бұрын
Wow...nice explanation
@SantoLucasST
@SantoLucasST 3 жыл бұрын
Very nice explanation. Took me a while to understand it the first time and what bothers me is the fact that is always the same example, that "click here to increase count". it works but is too simple to show what state really means and why it is important.
@xrr-1
@xrr-1 3 жыл бұрын
I work on React/Angular projects daily at work but I watch all of your videos.
@dangerousangel777
@dangerousangel777 4 ай бұрын
Thank you! Helpful. I studied Markov Chains and States in Markov chain matrices in college so, I kind of had a feeling it was like this. So in simple terms, a state is the status of a program and it can change dynamically.
@julienchaudron9354
@julienchaudron9354 3 жыл бұрын
In computer science, state are defined by their input, output and transition. What differentiate two state is that their output is different from the same input. you can put the calculator in decimal state and 10 + 10 = 20 or in bin state and 10 + 10 = 100. The way they process data is different thus two different state.
@andybrice2711
@andybrice2711 Жыл бұрын
Though presumably, different states can sometimes have the same I/O. For example: 0 + 1 = 1 regardless of whether the calculator is in decimal or binary mode. So does that mean a state is defined by the mapping from "any possible input" to "any possible output"?
@Shkkmj6868
@Shkkmj6868 2 жыл бұрын
You explain concepts clearly and to the point. Thank you so much for your videos.
@عبدالقادرعبدالرحمنعبدالله
@عبدالقادرعبدالرحمنعبدالله 3 жыл бұрын
Max, thank you so much for sharing.
@levi4thon
@levi4thon 3 жыл бұрын
Hi Max, great video. I love the format of short clips explaining different concepts. I was wondering, could you also make a video in which you develop a simple state management system, similar to Redux or Vuex, in vanilla Javascript or better yet in Typescript? I think that would make it even easier for people to grasp the concept of state and tackle those troublesome libraries.
@madalinalexandrescu5859
@madalinalexandrescu5859 3 жыл бұрын
I just started to learn IT 2 months ago,I found 3 days ago your channel and I`m watching 2-3 hours per day your videos.Your way to teach is very cool and apparently(for me) it`s working way better than with any other youtubers!
@khasmeenusman3931
@khasmeenusman3931 2 жыл бұрын
Explained it perfectly and easily
@shashikanthd4767
@shashikanthd4767 2 жыл бұрын
I appreciate the video idea.this topic looks so silly but its really very important to understand it
@nsociety
@nsociety 3 жыл бұрын
I hit like before watching Max's video because I know how he plans to explain the concept.
@aprilucid
@aprilucid 3 жыл бұрын
Your channel is keep helping me a lot!! You can't imagine how ur instructions are encouraging me with a comprehensive and tangible explanations all the time...!!!!!!!!! thanks a lot, stay safe!!!
@ErikWillekens
@ErikWillekens 8 ай бұрын
A static situation of your running code - a summary of "facts" of what is in your active memory, the data which is currently being rendered on a screen or another interface.
@mariahvigil9850
@mariahvigil9850 3 жыл бұрын
Gosh this was explained perfectly!! Thank you so much.
@ujjwalrawat2361
@ujjwalrawat2361 3 жыл бұрын
Love the way you teach.
@trainzmarcel2074
@trainzmarcel2074 Жыл бұрын
thanks, this was a very simple and clear explanation, just how i like it
@schneidero
@schneidero 3 жыл бұрын
Good explanation. Thanks
@elpatasculichi
@elpatasculichi 3 жыл бұрын
simple and clear. Thanks !
@CharithaSampathGunawardana
@CharithaSampathGunawardana 3 жыл бұрын
Well explained with examples 🙂
@Shipslitz
@Shipslitz 3 жыл бұрын
great working example 👍 thank you
@AkankshaSingh-pi4uu
@AkankshaSingh-pi4uu 3 жыл бұрын
You are always awesome Max! Thanks for such clear explanation of the concept.
@farhanfaraan1
@farhanfaraan1 3 жыл бұрын
very nice explanation sir Thumbs up
@elixirdeveloper6673
@elixirdeveloper6673 Жыл бұрын
thank you for validating what I thought 😃
@glamax1393
@glamax1393 3 жыл бұрын
In the end it's a great explanation !
@abhishekrawat8579
@abhishekrawat8579 3 жыл бұрын
Much informative for me because I've just started learning react😍🥰
@SherpaTravelPartner
@SherpaTravelPartner Жыл бұрын
hello there, while working in counter application what is the working principal of counter and setCounter? what does they do when we run? Does counter is old value store in counter and while updating state setCounter hold the new value?
@deceptivefacade7713
@deceptivefacade7713 3 жыл бұрын
please do SSR next. clear explanation as always.
@mostviewedtoks
@mostviewedtoks Жыл бұрын
Thanks this helped a lot
@abubakarsadiiq6131
@abubakarsadiiq6131 3 жыл бұрын
You always post what is needed. I like that
@arvitech7419
@arvitech7419 3 жыл бұрын
Your KZbin Logo Attracts my Eyes. :)
@cesarp6761
@cesarp6761 3 жыл бұрын
(vue example) could I use the root object as a place to centralize states among components instead of using 'stores'.. stores seems to much complication in my books..
@Ernest-Technology
@Ernest-Technology 3 жыл бұрын
I love everything you do
@الحمدلله-ح8ق6ذ
@الحمدلله-ح8ق6ذ Жыл бұрын
Thanks for the info
@darakhsanmughal8442
@darakhsanmughal8442 3 жыл бұрын
Is it possible to see that what is the current value of the state like we can see the session values in php
@nahidhasan5607
@nahidhasan5607 Ай бұрын
good explanation
@imanshirkhodaee1704
@imanshirkhodaee1704 2 жыл бұрын
It was helpful. thanks
@QQ-wv3gz
@QQ-wv3gz 3 жыл бұрын
Hello Max!! ❤️
@damagee8141
@damagee8141 3 жыл бұрын
So basically the term state always refers to the program as a whole. If there is an alteration in memory the state changes. Which is probably why some people prefer functional programming where state changes are avoided as much as possible to make the program easier to debug and test.
@alexkotusenko
@alexkotusenko 2 ай бұрын
Great video thank you
@binggibanggabongo
@binggibanggabongo 3 жыл бұрын
Great lecture!
@kasvith
@kasvith 3 жыл бұрын
Max, can you do an Elixir tutorial series?
@MrFawads
@MrFawads 3 жыл бұрын
Video about state machines in react. 👍
@siddhantjain2402
@siddhantjain2402 3 жыл бұрын
Hi Max, please create a course on Loopback 4. It's pretty hot these days!
@beinyourguard
@beinyourguard 3 жыл бұрын
Thank you!
@IDStack
@IDStack 3 жыл бұрын
Nyimak
@syntaxsavvy2708
@syntaxsavvy2708 3 жыл бұрын
selalu dong bang nyimak 😂
@spacebuddy5339
@spacebuddy5339 Жыл бұрын
Thanks alot.
@joshuachan6317
@joshuachan6317 2 жыл бұрын
The other half of my brain: A State Of Trance
@JasonLaveKnotts
@JasonLaveKnotts 2 жыл бұрын
The state of anything depends upon the question asked about the subject.
@jemsync
@jemsync Жыл бұрын
Who else here from the React Course in The Odin Project?
@longingbydesign
@longingbydesign 3 жыл бұрын
So how much memory does it take to store ALL the states of 1 minute of cooling coffee?
@LamaWalk
@LamaWalk 3 жыл бұрын
could you please enable CC? :)
@ayoubkhater2395
@ayoubkhater2395 10 ай бұрын
can any one explain to me why so many people in the internet talk about programming like it's only web development? why they assume programming=web ?
@aventurileluipetre
@aventurileluipetre 2 жыл бұрын
so state = permutation of all variables
@pranavbhat92
@pranavbhat92 3 жыл бұрын
So "state" & "context" are synonymous right?
@mich_2001
@mich_2001 4 ай бұрын
Nice!!
@codeme8016
@codeme8016 Жыл бұрын
Hi, It was not clear enough this time. I was good until the real world state and then lost it. Love your videos overall though.
@soumadip_banerjee
@soumadip_banerjee 3 жыл бұрын
❤️❤️❤️
@rajav4861
@rajav4861 3 жыл бұрын
Will you release Django course on Udemy as well?
@JigsawXop
@JigsawXop 2 ай бұрын
Cool
@markcuello5
@markcuello5 2 жыл бұрын
Help me
@Thilina4321
@Thilina4321 3 жыл бұрын
😊❤
@odopaisen2998
@odopaisen2998 Жыл бұрын
besides the obvious, you did not make much clear. there are too many states , of registers, ram cells, looks variables functions call-adresses ...
@5p4rk3r
@5p4rk3r 3 жыл бұрын
the color palette used for this presentation is bad
@bishnudas3562
@bishnudas3562 3 жыл бұрын
how many of you are here redirected from udemy course?
@TodorescuProgramming
@TodorescuProgramming 3 жыл бұрын
Its a really bad practice to put renderState inside incrementCounter... Each function should do only one thing... In setTimeout its better to call incrementCounter AND renderState
@heruhailiuhuang533
@heruhailiuhuang533 3 жыл бұрын
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
@___llvm
@___llvm 3 жыл бұрын
This guy is from Udemy ??!!
@g3ek1337
@g3ek1337 3 жыл бұрын
Totally good and 共匪
@5p4rk3r
@5p4rk3r 3 жыл бұрын
the color palette used for this presentation is bad
@heruhailiuhuang533
@heruhailiuhuang533 3 жыл бұрын
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 852 М.
Learn useState In 15 Minutes - React Hooks Explained
15:45
Web Dev Simplified
Рет қаралды 1,2 МЛН
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 207 М.
What are "Pure Functions" and "Side Effects"?
4:49
Academind
Рет қаралды 55 М.
Managing React Application State Management - Talk by Kent C. Dodds
30:15
freeCodeCamp Talks
Рет қаралды 61 М.
Angular 18 is EXACTLY what we needed
9:15
Academind
Рет қаралды 92 М.
You might not need useEffect() ...
21:45
Academind
Рет қаралды 176 М.
React Native just dropped a MASSIVE update
15:06
Mehul - Codedamn
Рет қаралды 70 М.
Do This Instead Of Representing State With Booleans
12:23
Joy of Code
Рет қаралды 116 М.
WebSockets in 100 Seconds & Beyond with Socket.io
8:31
Fireship
Рет қаралды 1 МЛН
The Async Await Episode I Promised
12:04
Fireship
Рет қаралды 1,1 МЛН
This Library Makes State Management So Much Easier
12:07
Web Dev Simplified
Рет қаралды 136 М.