Static vs Dynamic Typing

  Рет қаралды 36,673

Boot dev

Boot dev

Күн бұрын

Пікірлер: 28
@RR-et6zp
@RR-et6zp 11 ай бұрын
dude your website is legendary. So much better than anything else out there
@jswlprtk
@jswlprtk Жыл бұрын
The recent videos on the channel have been crisp and informative. Please keep up the good work
@bootdotdev
@bootdotdev Жыл бұрын
Happy they have been helpful! More to come :)
@emc3000
@emc3000 2 ай бұрын
Wonderful explanation. Really helpful to not only grasp what is meant by the two terms, but also why dynamic typing can actually be problematic.
@adrianoalves-qripto
@adrianoalves-qripto Жыл бұрын
I am studying about entropy and i'im just fall in here seeing videos about python and everything i love about programming. Tks, Lane!
@bootdotdev
@bootdotdev Жыл бұрын
YOURE WELCOME :)
@TheLoveKing
@TheLoveKing 4 ай бұрын
thank you for this and the course been loving everything so far on my free trial lol
@bootdotdev
@bootdotdev 4 ай бұрын
lovely to hear that!
@mnemotic
@mnemotic 3 ай бұрын
One way to think of dynamically- vs statically-typed languages is that in dynamically-typed languages, it's the _values_ that have type but in statically-typed languages it's the _variables_ that have type. HTH.
@bootdotdev
@bootdotdev 3 ай бұрын
i like this
@ranjanadissanayaka5390
@ranjanadissanayaka5390 Ай бұрын
clear and to the point...Thanks dude.
@BlueUltima9999
@BlueUltima9999 Ай бұрын
Good video, watched it as part of the Python Course. Still a little vague as to what TypeInference actually means tho, but kind of 50~60% grasp it ✌
@pizerooneventures7495
@pizerooneventures7495 20 күн бұрын
type Inference and Static typing, well defined in this video.
@somsutube
@somsutube Жыл бұрын
Loving these videos!
@bootdotdev
@bootdotdev Жыл бұрын
Glad you like them!
@kaltaron1284
@kaltaron1284 7 ай бұрын
A big advantage of Static Typing was memory allocation. If you declare a to be an int, you knew exactly how much memory a would ever need. This also of course came with a whole bag of problems like array boundaries in C and such. Modern memory management and the huge amount of memory available for most applications renders this completely moot. You can also use type hints in Python to make clear what the intended type of a variable or function result is and a good IDE will find many potential errors that way.
@jswlprtk
@jswlprtk Жыл бұрын
4:14 c++ has type inference using auto keyword
@bootdotdev
@bootdotdev Жыл бұрын
Thanks for helping!
@ryleitdept
@ryleitdept 2 ай бұрын
Yes it was mentioned by the OP that there is time intervals and evolution.
@seriouscasualgamer9580
@seriouscasualgamer9580 5 ай бұрын
having only had C as my main language (student in electrical engineering here), I'm all for static types, dynamic types feel super weird to me XD. I once was searching around for how types were handled in python and I couldn't get a good answer to my question, although now I'd guess that an int can be based on anything from 8 to 64 bits ? also, with masking (to make a variable into one that's of another type) aside from speed, I completely agree that dynamic types would be mostly a source of error as opposed to a good thing for more consquential projects.
@shadowseek27
@shadowseek27 2 ай бұрын
it boggles my mind the amount of workarounds dynamic languages take when they want to ensure static typing, like in typed dictionaries. Im happy for them i guess, but it really just hurts my brain lmao
@viniciusfigueiredo6740
@viniciusfigueiredo6740 4 ай бұрын
Nice video! Thank you
@jaz093
@jaz093 24 күн бұрын
I've never found dynamic variables useful. Just really annoying when looking at other people's code because it's unclear what type it is. Which methods apply to that variable? If it's an int why is it helpful to allow some string concatenate methods on it? It's just asking for errors at run time. Does it really make it easier for beginners? Probably more confusion
@DataPastor
@DataPastor 17 күн бұрын
So the real problem starts (with Python) when you pass over e.g. a Pandas dataframe to a function (and this happens a lot in Python projects) - and okay you annotate that you require a pd.DataFrame, but then what? The devil lives in dtypes…. So then you have pydantic, but do you always check the column names and dtypes in each and every function which receives a pandas dataframe? Same with all compound types like dictionaries etc.
@GHaKKt
@GHaKKt Жыл бұрын
Nice video but this is how I always felt about dynamic/static. I don't see you "var x int = 5" is verbose of hard to read? :) Okay, you need to know what an integer and a variable is, but hopefully, if you are gonna write code that doesn't run into other mysterious bugs down the road, you should probably know what an integer is and how it works?
@sehrgrossesglied5000
@sehrgrossesglied5000 7 ай бұрын
Lets go feed the snake =)
@vee6580
@vee6580 Жыл бұрын
Hello Lane, I sent an email more than 12 hours ago, could you please read it and respond? Thank you.
@bootdotdev
@bootdotdev Жыл бұрын
I think I did!
Why Static Typing Came Back • Richard Feldman • GOTO 2022
52:01
GOTO Conferences
Рет қаралды 153 М.
How many people are in the changing room? #devil #lilith #funny #shorts
00:39
Lazy days…
00:24
Anwar Jibawi
Рет қаралды 6 МЛН
Every programming language explained in 15 minutes | Prime Reacts
43:42
This is Why Programming Is Hard For you
10:48
The Coding Sloth
Рет қаралды 958 М.
FP vs OOP | For Dummies
8:43
BasicOverflow
Рет қаралды 194 М.
The Truth About Learning Python in 2024
9:38
Internet Made Coder
Рет қаралды 216 М.
Programming Paradigms - Computerphile
10:44
Computerphile
Рет қаралды 685 М.
The BEST Way To Become A Software Engineer
14:45
ThePrimeTime
Рет қаралды 215 М.
“typing” is getting deprecated in Python
7:20
Indently
Рет қаралды 77 М.
What are Enums in Python?
5:33
Boot dev
Рет қаралды 2,9 М.
32 Reasons WHY TS IS BETTER Than Go
1:09:29
ThePrimeTime
Рет қаралды 261 М.