Static vs Dynamic Typing

Sdílet
Vložit

Komentáře • 16

  • @jswlprtk
    @jswlprtk Před rokem +12

    The recent videos on the channel have been crisp and informative. Please keep up the good work

    • @bootdotdev
      @bootdotdev  Před rokem +1

      Happy they have been helpful! More to come :)

  • @RR-et6zp
    @RR-et6zp Před 7 měsíci +5

    dude your website is legendary. So much better than anything else out there

  • @AdrianoAlves7
    @AdrianoAlves7 Před rokem +2

    I am studying about entropy and i'im just fall in here seeing videos about python and everything i love about programming. Tks, Lane!

  • @seriouscasualgamer9580

    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.

  • @somsutube
    @somsutube Před rokem +3

    Loving these videos!

  • @viniciusfigueiredo6740

    Nice video! Thank you

  • @jswlprtk
    @jswlprtk Před rokem +3

    4:14 c++ has type inference using auto keyword

  • @kaltaron1284
    @kaltaron1284 Před 3 měsíci +1

    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.

  • @sehrgrossesglied5000
    @sehrgrossesglied5000 Před 2 měsíci +1

    Lets go feed the snake =)

  • @GHaKKt
    @GHaKKt Před 10 měsíci

    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?

  • @vee6580
    @vee6580 Před rokem +1

    Hello Lane, I sent an email more than 12 hours ago, could you please read it and respond? Thank you.