What is "State" in Programming?

  Рет қаралды 90,628

Academind

Academind

Күн бұрын

Пікірлер: 84
@samuelvalentine7846
@samuelvalentine7846 4 жыл бұрын
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 11 ай бұрын
😅
@xrr-1
@xrr-1 4 жыл бұрын
I work on React/Angular projects daily at work but I watch all of your videos.
@ahmedsharif397
@ahmedsharif397 4 жыл бұрын
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?
@SantoLucasST
@SantoLucasST 4 жыл бұрын
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.
@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
@madalinalexandrescu5859
@madalinalexandrescu5859 4 жыл бұрын
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!
@julienchaudron9354
@julienchaudron9354 4 жыл бұрын
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"?
@levi4thon
@levi4thon 4 жыл бұрын
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.
@Shkkmj6868
@Shkkmj6868 2 жыл бұрын
You explain concepts clearly and to the point. Thank you so much for your videos.
@dangerousangel777
@dangerousangel777 5 ай бұрын
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.
@ErikWillekens
@ErikWillekens 9 ай бұрын
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.
@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!!!
@ujjwalrawat2361
@ujjwalrawat2361 4 жыл бұрын
Love the way you teach.
@shashikanthd4767
@shashikanthd4767 2 жыл бұрын
I appreciate the video idea.this topic looks so silly but its really very important to understand it
@khasmeenusman3931
@khasmeenusman3931 2 жыл бұрын
Explained it perfectly and easily
@nsociety
@nsociety 3 жыл бұрын
I hit like before watching Max's video because I know how he plans to explain the concept.
@عبدالقادرعبدالرحمنعبدالله
@عبدالقادرعبدالرحمنعبدالله 4 жыл бұрын
Max, thank you so much for sharing.
@mariahvigil9850
@mariahvigil9850 3 жыл бұрын
Gosh this was explained perfectly!! Thank you so much.
@AkankshaSingh-pi4uu
@AkankshaSingh-pi4uu 4 жыл бұрын
You are always awesome Max! Thanks for such clear explanation of the concept.
@abubakarsadiiq6131
@abubakarsadiiq6131 4 жыл бұрын
You always post what is needed. I like that
@arvitech7419
@arvitech7419 4 жыл бұрын
Your KZbin Logo Attracts my Eyes. :)
@trainzmarcel2074
@trainzmarcel2074 Жыл бұрын
thanks, this was a very simple and clear explanation, just how i like it
@schneidero
@schneidero 4 жыл бұрын
Good explanation. Thanks
@elixirdeveloper6673
@elixirdeveloper6673 Жыл бұрын
thank you for validating what I thought 😃
@elpatasculichi
@elpatasculichi 4 жыл бұрын
simple and clear. Thanks !
@CharithaSampathGunawardana
@CharithaSampathGunawardana 4 жыл бұрын
Well explained with examples 🙂
@Shipslitz
@Shipslitz 4 жыл бұрын
great working example 👍 thank you
@farhanfaraan1
@farhanfaraan1 4 жыл бұрын
very nice explanation sir Thumbs up
@deceptivefacade7713
@deceptivefacade7713 4 жыл бұрын
please do SSR next. clear explanation as always.
@JasonLaveKnotts
@JasonLaveKnotts 2 жыл бұрын
The state of anything depends upon the question asked about the subject.
@glamax1393
@glamax1393 4 жыл бұрын
In the end it's a great explanation !
@abhishekrawat8579
@abhishekrawat8579 4 жыл бұрын
Much informative for me because I've just started learning react😍🥰
@nahidhasan5607
@nahidhasan5607 2 ай бұрын
good explanation
@Ernest-Technology
@Ernest-Technology 4 жыл бұрын
I love everything you do
@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?
@mostviewedtoks
@mostviewedtoks Жыл бұрын
Thanks this helped a lot
@الحمدلله-ح8ق6ذ
@الحمدلله-ح8ق6ذ Жыл бұрын
Thanks for the info
@damagee8141
@damagee8141 4 жыл бұрын
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.
@kasvith
@kasvith 4 жыл бұрын
Max, can you do an Elixir tutorial series?
@alexkotusenko
@alexkotusenko 3 ай бұрын
Great video thank you
@imanshirkhodaee1704
@imanshirkhodaee1704 2 жыл бұрын
It was helpful. thanks
@QQ-wv3gz
@QQ-wv3gz 4 жыл бұрын
Hello Max!! ❤️
@binggibanggabongo
@binggibanggabongo 4 жыл бұрын
Great lecture!
@darakhsanmughal8442
@darakhsanmughal8442 4 жыл бұрын
Is it possible to see that what is the current value of the state like we can see the session values in php
@longingbydesign
@longingbydesign 4 жыл бұрын
So how much memory does it take to store ALL the states of 1 minute of cooling coffee?
@cesarp6761
@cesarp6761 4 жыл бұрын
(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..
@siddhantjain2402
@siddhantjain2402 4 жыл бұрын
Hi Max, please create a course on Loopback 4. It's pretty hot these days!
@beinyourguard
@beinyourguard 4 жыл бұрын
Thank you!
@pranavbhat92
@pranavbhat92 4 жыл бұрын
So "state" & "context" are synonymous right?
@spacebuddy5339
@spacebuddy5339 Жыл бұрын
Thanks alot.
@LamaWalk
@LamaWalk 4 жыл бұрын
could you please enable CC? :)
@aventurileluipetre
@aventurileluipetre 2 жыл бұрын
so state = permutation of all variables
@ayoubkhater2395
@ayoubkhater2395 11 ай бұрын
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 ?
@MrFawads
@MrFawads 4 жыл бұрын
Video about state machines in react. 👍
@IDStack
@IDStack 4 жыл бұрын
Nyimak
@syntaxsavvy2708
@syntaxsavvy2708 4 жыл бұрын
selalu dong bang nyimak 😂
@joshuachan6317
@joshuachan6317 2 жыл бұрын
The other half of my brain: A State Of Trance
@jemsync
@jemsync Жыл бұрын
Who else here from the React Course in The Odin Project?
@rajav4861
@rajav4861 4 жыл бұрын
Will you release Django course on Udemy as well?
@mich_2001
@mich_2001 5 ай бұрын
Nice!!
@markcuello5
@markcuello5 2 жыл бұрын
Help me
@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.
@heruhailiuhuang533
@heruhailiuhuang533 4 жыл бұрын
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
@soumadip_banerjee
@soumadip_banerjee 4 жыл бұрын
❤️❤️❤️
@JigsawXop
@JigsawXop 3 ай бұрын
Cool
@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 ...
@Thilina4321
@Thilina4321 4 жыл бұрын
😊❤
@5p4rk3r
@5p4rk3r 4 жыл бұрын
the color palette used for this presentation is bad
@TodorescuProgramming
@TodorescuProgramming 4 жыл бұрын
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
@bishnudas3562
@bishnudas3562 3 жыл бұрын
how many of you are here redirected from udemy course?
@___llvm
@___llvm 4 жыл бұрын
This guy is from Udemy ??!!
@g3ek1337
@g3ek1337 4 жыл бұрын
Totally good and 共匪
@heruhailiuhuang533
@heruhailiuhuang533 4 жыл бұрын
Hello, I am non English speaker, So I hope i can see the subtitle, but there is no. Could u set it up?
@5p4rk3r
@5p4rk3r 4 жыл бұрын
the color palette used for this presentation is bad
Learn useState In 15 Minutes - React Hooks Explained
15:45
Web Dev Simplified
Рет қаралды 1,2 МЛН
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 921 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Арыстанның айқасы, Тәуіржанның шайқасы!
25:51
QosLike / ҚосЛайк / Косылайық
Рет қаралды 700 М.
State Managers Are Making Your Code Worse In React
13:33
Web Dev Simplified
Рет қаралды 214 М.
WebSockets in 100 Seconds & Beyond with Socket.io
8:31
Fireship
Рет қаралды 1 МЛН
What is "Composition" in React.js, Angular or Vue Apps?
4:19
Academind
Рет қаралды 23 М.
Flutter State Management - The Grand Tour
14:07
Fireship
Рет қаралды 249 М.
I tried 8 different Postgres ORMs
9:46
Beyond Fireship
Рет қаралды 446 М.
Why Signals Are Better Than React Hooks
16:30
Web Dev Simplified
Рет қаралды 496 М.
React JS Explained In 10 Minutes
10:00
Dennis Ivy
Рет қаралды 365 М.
What are "Pure Functions" and "Side Effects"?
4:49
Academind
Рет қаралды 55 М.
Vite Crash Course | Faster Alternative To CRA
16:24
Traversy Media
Рет қаралды 222 М.
ALL React Hooks Explained in 12 Minutes
12:21
Code Bootcamp
Рет қаралды 184 М.
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН