Typing: Static vs Dynamic, Weak vs. Strong / Intro to JavaScript ES6 programming, lesson 16

Sdílet
Vložit
  • čas přidán 12. 02. 2017
  • Learn about types in JavaScript, and understand the difference between dynamic and static typing and weak and strong typing.
    Learn to code, the humane way → codexpanse.com/

Komentáře • 127

  • @FTACNIKAUSTIN
    @FTACNIKAUSTIN Před 5 lety +83

    Seriously one of the best informative JavaScript lessons I’ve ever found. Perfect. Want more.

    • @Codexpanse
      @Codexpanse  Před 5 lety +4

      Thank you! More coming :)

    • @Viralvlogvideos
      @Viralvlogvideos Před 3 lety

      @Cullen Paxton dear script kiddie before u become a hacker u need to become a programmer , u can't fool programmers to fall for your trick :) lol

    • @Viralvlogvideos
      @Viralvlogvideos Před 3 lety

      @Dawson Torin don't do it will hack ur account lol

    • @pwnuser2940
      @pwnuser2940 Před 2 lety +1

      Not only for Javascript, I used this information to understand better computer science, I'm learning C# and found about static typing/dynamic typing and weak & strong.

  • @trefasjulia7518
    @trefasjulia7518 Před 6 lety +70

    finally a clear explanation about types among the clutter of information on the web. good job!

    • @Codexpanse
      @Codexpanse  Před 5 lety +6

      Thank you very much! Hope you'll like my future videos too

  • @richardtan1332
    @richardtan1332 Před 7 lety +18

    This must be the only good explanation of types on youtube.

  • @SanketDube
    @SanketDube Před 3 lety +4

    This is the best explanation of strong, weak, dynamic and static type languages.

  • @davidvargas8834
    @davidvargas8834 Před 4 lety +9

    The analogies were clear and really helped me understand. It shows that you deeply understand what you are explaining. Great video.

  • @odingofelix4474
    @odingofelix4474 Před 5 měsíci +1

    Cheers man. Never seen such a better explanation of the type system.

  • @icns01
    @icns01 Před 3 lety +2

    I am coming from the python sphere and I just have to say thanks. Clear, coincise, and crisp. Very good examples too.

  • @jackpitts5561
    @jackpitts5561 Před 4 lety +23

    Hilarious in addition to informative. Love the strong vs weak photo examples!

  • @jakni3661
    @jakni3661 Před 4 lety +1

    A picture is worth a thousand words. Thanks!

  • @namooman6447
    @namooman6447 Před 5 lety +16

    Mind blowing !!!! A very simpe and lucid explanation of the type concepts. Thanks for the video.

    • @Codexpanse
      @Codexpanse  Před 5 lety +2

      Very glad you liked it and found useful. Thanks!

  • @TheDiegolopez007
    @TheDiegolopez007 Před 11 měsíci

    What an absolutely brilliant way to dissect and explain the topic at hand!

  • @toni-sian
    @toni-sian Před 6 lety +2

    Haha this is hands down the funniest coding tutorial I've ever seen - not to mention expertly explained. Bravo!

  • @hishammubarak3421
    @hishammubarak3421 Před 6 lety +1

    Thank you for the best available video on YT about types! All 4 in 1!

  • @cindymora3860
    @cindymora3860 Před 5 lety +1

    All the draws make the explenation clear! Great work!

  • @jerry81711
    @jerry81711 Před 4 lety +2

    Great video, I was asked in an interview yesterday to explain the differences between strong type vs weak type and dynamic vs static typing. This video clear up my confusion.

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

    Thank you so much for this. No one was explaining this clearly enough!!

  • @carltonmcfarlane7051
    @carltonmcfarlane7051 Před 5 lety

    AWESOME video! I learned more about typing from this 7-min video than the previous three years of coding... thank you. :)

  • @richardwhitfield
    @richardwhitfield Před rokem

    Love the style of the videos...started with this one but will definitely be going back and watching them all.

  • @alexapostolo3329
    @alexapostolo3329 Před 4 lety +1

    Amazing explanation, I was having trouble for a very long time trying to understand this topic. You sir are a godsend!!

  • @duncandavidforssman
    @duncandavidforssman Před 3 lety +4

    Thoroughly enjoyed this video! Good content, good humor, good illustration! Well done

  • @Simpleromanian
    @Simpleromanian Před 5 lety

    best video on programming so far

  • @stevewakhungu207
    @stevewakhungu207 Před rokem

    Best explanation I have come across on these concepts

  • @nikeflight17
    @nikeflight17 Před 2 lety

    Thank you so much, the best description I have heard on this topic. I salute you, sir!!!!

  • @dominikk5204
    @dominikk5204 Před 5 lety +2

    Awesome! One of the most comprehensible and informative video I've watched. You have a such a convenient voice.

    • @Codexpanse
      @Codexpanse  Před 5 lety +2

      Thank you very much! Let me know if you have ideas or suggestions for future videos.

  • @chandrakant6283
    @chandrakant6283 Před rokem

    Very underrated channel.

  • @dukewellington5222
    @dukewellington5222 Před 4 lety

    Great video and great channel! I'm so glad this channel exists!

  • @harit9380
    @harit9380 Před 4 lety

    One of the most creative fun educative videos!! Great job!!

  • @abdelrhmanosamarashed1516
    @abdelrhmanosamarashed1516 Před 5 měsíci

    This video is one of the best Javascript lessons, Thanks for All Your Hard Work😍

  • @russelldriver6394
    @russelldriver6394 Před 4 lety

    Thanks for that. short , sweet and crystal clear.

  • @Hazemkhaled-jj7ob
    @Hazemkhaled-jj7ob Před rokem

    I enjoyed every minute of this video , thank you for your effort

  • @ekestaakehrgi
    @ekestaakehrgi Před rokem +1

    You are very great at explaining things... thanks.

  • @bapbap6682
    @bapbap6682 Před rokem

    Thank you much! you make it looks so simple

  • @fofivsl8139
    @fofivsl8139 Před 5 lety +1

    This channel is gold.

    • @Codexpanse
      @Codexpanse  Před 5 lety +2

      Oh, thank you! New video is coming up btw :-)

  • @utkarshkothimbire1484
    @utkarshkothimbire1484 Před 5 lety

    Thanks a lot for explaining in simple language.

  • @kakanivishwateja4917
    @kakanivishwateja4917 Před 4 lety

    a clear explanation.thanks man

  • @jerosajose
    @jerosajose Před 2 lety

    such a fantastic video!

  • @stryhx
    @stryhx Před 4 lety

    Very well explained!!!👏🏻

  • @youssefkarfouh3084
    @youssefkarfouh3084 Před rokem

    thank you so much for this lesson , we want more like this explanation !

  • @anqiwu85
    @anqiwu85 Před 2 lety

    Thank you!This awesome explanation video helps me a lot!

  • @aldheild14
    @aldheild14 Před 3 lety

    Thank you very much for this video, you are a great teacher

  • @HannaKarenNasc
    @HannaKarenNasc Před rokem

    You explain it so well! Thank you for this amazing video!

  • @pro-cr2eo
    @pro-cr2eo Před 2 lety +1

    Wow amazing explanation

  • @kirtisharma8935
    @kirtisharma8935 Před měsícem

    This is awesome - great explanation.

  • @TommyBoy8972
    @TommyBoy8972 Před 2 lety

    Awesome. Thank you for the clarification

  • @wyattlawrence3970
    @wyattlawrence3970 Před rokem

    This is a great video, thank you!

  • @wolf20005
    @wolf20005 Před 3 lety

    Thanks for this video, it was a really clear and helpful explanation!

  • @StrangeIndeed
    @StrangeIndeed Před 3 lety

    God tier explanation

  • @johndeorian6654
    @johndeorian6654 Před 6 lety +3

    Very well done. I'm going to watch your other videos now.

    • @Codexpanse
      @Codexpanse  Před 5 lety +1

      Thanks John! Hope you liked them :)

  • @deveeshmusic5045
    @deveeshmusic5045 Před 4 lety

    brilliant. just, brilliant.

  • @peterpannas6403
    @peterpannas6403 Před rokem

    Thank you for such informative and entertaining lesson

  • @YannayerAytMazighen
    @YannayerAytMazighen Před 7 lety +1

    very clear thank you !

  • @ellipticaloblivion5182
    @ellipticaloblivion5182 Před 4 lety +3

    Dude I can watch this for days, beautiful explanation, keep it up :D

  • @Miodrag0204
    @Miodrag0204 Před 6 lety

    Thanks a lot! The video is amazing.

  • @willac4261
    @willac4261 Před 3 lety

    Thank you so much for this explanation!

  • @sudipto.m
    @sudipto.m Před 4 lety

    wow . wow just wow. amazing video.

  • @Ackchyually
    @Ackchyually Před 2 lety

    Your video was informative and funny. Great video!

  • @hotmandead1
    @hotmandead1 Před 5 lety +2

    Excellent video !

    • @Codexpanse
      @Codexpanse  Před 5 lety +1

      Thank you! Come back for more, I'm working on a new release atm.

  • @HannaKarenNasc
    @HannaKarenNasc Před rokem

    Great video!!

  • @brijusingh845
    @brijusingh845 Před 3 lety

    Wow... Amazing explanation..... Keep upload more videos in JavaScript.... Please...... Thanks

  • @thangibleword6854
    @thangibleword6854 Před 4 lety

    very well done

  • @renedekart5069
    @renedekart5069 Před 2 lety

    Great video

  • @Maddof_Erroz
    @Maddof_Erroz Před 3 lety

    My kind of humor! Great work!

  • @shwackthenoobsac
    @shwackthenoobsac Před 2 lety

    This is underrated

  • @AoAo-mt4dl
    @AoAo-mt4dl Před 4 lety

    Thanks a lot !!

  • @suhakarkhy639
    @suhakarkhy639 Před 2 lety

    that was funny and informative. you're awesome :)

  • @chrissythompkin2089
    @chrissythompkin2089 Před 5 lety +1

    Very informative video, well done! Just got a new subscriber and cant wait to check out your other videos

    • @Codexpanse
      @Codexpanse  Před 5 lety

      Thanks Chrissy! I'll do my best not to disappoint. New video coming out soon.

  • @IllD.
    @IllD. Před 3 lety +1

    Thank you so much. My god the internet is so full of bs that its hard to find the really good shit.

  • @Enthos2
    @Enthos2 Před rokem

    That it's only game clip of Bryzgalov took me off guard lmao

  • @SR-er6hx
    @SR-er6hx Před 4 lety

    Amazing

  • @Viralvlogvideos
    @Viralvlogvideos Před 3 lety

    we want react tutorials from u, ur awesome

  • @28ugur89
    @28ugur89 Před 6 lety

    Awesome

  • @KrzysztofChrzan
    @KrzysztofChrzan Před 2 měsíci

    Very good film, to fulfil whole I think there should be displayed example for strong typing. ✌😀

  • @pierrotlavoro3884
    @pierrotlavoro3884 Před 8 měsíci

    Great video! Loved the South Park reference XD

  • @thedarkpill3590
    @thedarkpill3590 Před 4 lety +2

    Wow.. the best explanation on the subject i saw. The least i can do is subscribe and like, although a donation would be in order once a bitcoin economy is up and running. ;)

  • @saratalefe568
    @saratalefe568 Před 5 lety

    Awesome video, really really good! Where would you position Java on that strong-weak spectrum?

  • @moaazbhnas886
    @moaazbhnas886 Před 6 lety

    Awesooooome

  • @stevewaltin8396
    @stevewaltin8396 Před 4 lety +1

    You don't ask your cat to do the laundry, you'd "probably ask your room mate" lol 😂

  • @ralphvo8582
    @ralphvo8582 Před 4 lety

    really easy to understand these Js important concepts, but I dont know why your channel is less subscriber

  • @hiteshbitscs
    @hiteshbitscs Před 3 lety

    Incredible piece of information. Pure gold. Just curious can you please let me know how can you make such great videos? you use ipad with pencil? any app? I really appreciate if you share your tools & tips. Thanks and have a great day. Keep rocking!

  • @AshtonMotana
    @AshtonMotana Před 8 měsíci

    Nan as a number is a good thing since I programmed a default of number 0 when the input field is blank, I did this because I need to rapid create objects to render with entering 12 fields of data since I was testing animations amd nit the mathematics. Nan would otherwise error due to math on the elements that can't be divided by zero, but I could have defaulted to an actual number, lol.

  • @richardzhouren5256
    @richardzhouren5256 Před 4 lety

    nice

  • @sunnybinni4799
    @sunnybinni4799 Před 2 lety

    Hey what happened to you why you are not doing videos anymore...you are simply amazing...

  • @shreemaan-abhishek
    @shreemaan-abhishek Před 2 lety

    Perrrrrrfect! Also notice how he isn't involved in "dontforgettolikeandsubscribe" business :P

  • @smithcodes1243
    @smithcodes1243 Před 6 lety

    Hilarious ! Such a sweet explanation !

  • @LokeshLdata
    @LokeshLdata Před 5 lety

    Nice presentation could please tutorial on Python from beginner to advance....

    • @Codexpanse
      @Codexpanse  Před 5 lety

      Thank you! I've published two online courses on Python for beginners here → learn.codexpanse.com/collections?category=basics

  • @arcaneacumen5404
    @arcaneacumen5404 Před 2 lety

    Thanks for the vid. It would make more sense to call it "strict" vs "lenient" instead of "strong" vs "weak", wouldn't you agree?

  • @mingming4186
    @mingming4186 Před 2 lety

    How about C language is it strongly or weakly typed

  • @Gargantupimp
    @Gargantupimp Před 5 lety +1

    Why is it easier to write and learn dynamically typed languages? Runtime errors are way more frustrating than compile time errors. The only advantage I see to dynamic typing is that it's the only choice when a language isn't compiled at all, like JavaScript. Can anyone correct me?

  • @justafreak15able
    @justafreak15able Před 6 lety +4

    That gif :P

  • @pale_green_telephones4346

    Holy crap I finally get it, thank you!

  • @sneh9817
    @sneh9817 Před 5 lety +1

    Even if my roommate were a language, it wouldn't do my laundry

  • @raconvid6521
    @raconvid6521 Před rokem

    4:28 incorrect: javascript actually uses JIT compilation.
    This is unless you are using a really really old browser version (from before 2010), but then it probably couldn’t even run ES5 features anyway.

  • @miteshvaid2447
    @miteshvaid2447 Před 2 lety

    Why NaN is a Number??

  • @c0hgyvvqq7qhdfa97
    @c0hgyvvqq7qhdfa97 Před 5 lety

    2:08

  • @AshtonMotana
    @AshtonMotana Před 8 měsíci

    Maybe if your code is mess understandable, it is because your variable names could be better.

  • @SilentWarrior17
    @SilentWarrior17 Před rokem

    hey! ... You!. . . YEAH! YOU!. . .I like you. . .

  • @renepatrickvogt3579
    @renepatrickvogt3579 Před 2 lety

    Ferdacht auf Problemerzeugung durch zu schnellen Zugriff,, Quantendiletation

  • @codinginflow
    @codinginflow Před 5 lety

    You sound kinda like Oberyn Martell

  • @a.s.9145
    @a.s.9145 Před rokem

    I guess you a little bit biased against dynamic weak typing. at 4:58 it does exactly what is expected. meanwhile JS as dynamic weakly typed lang took over the world and became most popular. It's faster+easier to code, than strongly static typed alternatives. As one language author said : "there were study, and only 10% of bugs were caught due strong static type, others were not related to type system" , are you willing to trade of that to speed/pace of development? Or you want programmer to fight type system. After all in the end it's compiler job to derive types. And writing types doesn't eliminate feature oriented Test Driven Development.

  • @perlaramos8783
    @perlaramos8783 Před 6 lety

    part 5:25 makes sense 4 +'7' = '47'. it's assuming we want to append! I mean why else would we add a number to a string. 2 + true and false - 3 also makes sense since true is 1 and false is 0.

    • @mrdarky3377
      @mrdarky3377 Před 6 lety +1

      Perla Ramos It is all depends on the context.