Тёмный

Static vs Dynamic Typing 

Boot dev
Подписаться 14 тыс.
Просмотров 20 тыс.
50% 1

Let's chat about the difference between static and dynamic typing. Learn which one I think is better and when you would use one over the other!
Learn back-end development - boot.dev
Learn Python - boot.dev/learn/learn-python
Like & subscribe for the algo if you enjoyed the video!
== Chapter Contents ==
00:00 - Intro
00:28 - What is dynamic typing?
01:12 - What is static typing?
01:59 - Is static or dynamic typing better?
03:18 - Type inference - why static typing is better!
04:08 - Why newer languages offer the best of both worlds
04:25 - If static is better, why learn dynamic languages?
05:26 - Outro

Наука

Опубликовано:

 

29 июн 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 15   
@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 :)
@RR-et6zp
@RR-et6zp 6 месяцев назад
dude your website is legendary. So much better than anything else out there
@AdrianoAlves7
@AdrianoAlves7 Год назад
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 :)
@somsutube
@somsutube Год назад
Loving these videos!
@bootdotdev
@bootdotdev Год назад
Glad you like them!
@seriouscasualgamer9580
@seriouscasualgamer9580 3 дня назад
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.
@jswlprtk
@jswlprtk Год назад
4:14 c++ has type inference using auto keyword
@bootdotdev
@bootdotdev Год назад
Thanks for helping!
@kaltaron1284
@kaltaron1284 2 месяца назад
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.
@GHaKKt
@GHaKKt 10 месяцев назад
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 2 месяца назад
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!
Далее
What is Git Rebase? (Animated)
1:53
Просмотров 7 тыс.
Became invisible for one day!  #funny #wednesday #memes
00:25
Wes wrote a book in HTML and CSS..
0:32
Просмотров 2,8 тыс.
Statically Vs Dynamically Typed Languages
2:52
Просмотров 29 тыс.
Ranking Programming Languages (Tier List)
9:58
Просмотров 144 тыс.
GEN102 - Language and Linguistics
14:09
Просмотров 170 тыс.
Nvidia CUDA in 100 Seconds
3:13
Просмотров 1,1 млн
Coding sure beats working on a construction site...
0:30
Lid hologram 3d
0:32
Просмотров 9 млн