JavaScript Function - What's your Function?

Поделиться
HTML-код
  • Опубликовано: 2 окт 2024

Комментарии • 206

  • @jorrinbruns4371
    @jorrinbruns4371 5 лет назад +236

    Hahahaha anyone else catch the 'Meow' at 10:04?...right before he creates the useCat function.

    • @MrDots99
      @MrDots99 5 лет назад +3

      Jumpin' around all nimbly-bimbly from function to function

    • @user-ot1dv6ri4f
      @user-ot1dv6ri4f 4 года назад +4

      came down here to comment about it haha

    • @frankatwestern
      @frankatwestern 3 года назад

      best

    • @bolow
      @bolow 3 года назад +3

      same I checked the comments if anyone else caught it too 😆😆😆

  • @troythompson2
    @troythompson2 5 лет назад +9

    Simplest recursion demo I've seen. Nice!

  • @akhileshnarayan8547
    @akhileshnarayan8547 2 года назад +1

    I love to watch your videos, especially the humorous parts! Loved the 'meow' @ 10:04 !

  • @rshicks256
    @rshicks256 5 лет назад +161

    The content on this channel is great, but your voice is why I keep watching/listening.

    • @jonathan-arias
      @jonathan-arias 5 лет назад

      Somos dos.

    • @alvarezsoto
      @alvarezsoto 5 лет назад +1

      Sooo true! Perfect voice for tutorials

    • @LonelyTroubadour
      @LonelyTroubadour 5 лет назад

      Verdade

    • @hino2
      @hino2 4 года назад

      gaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy

    • @bakane6030
      @bakane6030 3 года назад

      @@hino2 5 year old spotted

  • @mohyeachraf8489
    @mohyeachraf8489 5 лет назад +4

    LOVED the refenrece of The Bachlorette in the case of pure functions and global variables, keep up the good work such value to the youtube Javascript community, Thank you.

    • @Fireship
      @Fireship  5 лет назад +2

      Mohyeddine... Will you accept this rose 🌹

  • @juliohintze595
    @juliohintze595 5 лет назад +2

    This flexibility in functions definitely are one of the most beautiful things in JS

  • @satindersingh9671
    @satindersingh9671 5 лет назад +22

    I liked the video when he says "Stack overflow". Perfection! 🤯

  • @G3ntiLP
    @G3ntiLP Год назад

    The "meow" (while saying now) really got me xD. 10:04

  • @raymondmichael4987
    @raymondmichael4987 5 лет назад +22

    Laughing 🤣🤣 while watching especially "when dog gets a beer"
    Not always to watch and laugh this type of content, keep it up bro.
    Greetings from Tanzania 🇹🇿

    • @Fireship
      @Fireship  5 лет назад +1

      Thank you! I like to have fun when I code :)

    • @heracraft5526
      @heracraft5526 3 года назад +1

      TZ famn

  • @searchingForMinimalism
    @searchingForMinimalism 4 года назад +12

    The content quality is way too high ! thanks for the great piece of art.

  • @StickWithFiddle
    @StickWithFiddle Год назад +9

    Great video!
    Only wish he spoke a little slower to let the concepts sink in before moving onto the next function type. Also an example of a real life situation you might use each of the different functions would add value for beginners.

    • @jonnymids
      @jonnymids 10 месяцев назад

      I felt the same way until I found out about playback speed in the settings

  • @Ozzymand
    @Ozzymand 5 лет назад +17

    This account feels so satirical yet so educational. I fricking love you fireship, you're amazing

  • @RedEyedJedi
    @RedEyedJedi 4 года назад

    Only found this channel today. Informative, funny and well-paced. So glad I found it. Subbed and binge-watching.

  • @jezzaibuki9001
    @jezzaibuki9001 2 года назад

    Looking for the Douglas Crockford lecture. Great video.

  • @Dev-ry9cx
    @Dev-ry9cx 5 лет назад +40

    I am making JS videos inspired by you 😀

  • @feschber
    @feschber 5 лет назад

    Truely amazing that just when I learned all this in university you make a video about it

  • @stephblank8204
    @stephblank8204 2 года назад +3

    I have watched hours and hours of videos. I wish EVERY programming video explanation included what you said "You can think of ____ like _______"
    Thank you for knowing how to teach.

  • @dhruvilupadhyay1
    @dhruvilupadhyay1 4 года назад +21

    You are legend. Just from this one video, I basically leaned what I have been learning in JS from 3 months. Plus, you also state the mistakes you made, so learner like me can avoid it. Keep up the good work buddy

  • @alexandervashchuk7795
    @alexandervashchuk7795 5 лет назад +3

    Which vscode plugin shows errors inside the editor?

  • @CodingAfterThirty
    @CodingAfterThirty 5 лет назад +3

    Until we reach stack overflow... 😱🤯💥

  • @liamsmith-yp3xh
    @liamsmith-yp3xh 3 года назад +3

    Far to fast for a complete beginner but for an intermediate level there’s a lot of valuable things here, gained a deeper understanding, also you can just return something even bigger than a single array after an arrow function by wrapping in brackets or if you need to return an object. Didn’t realise a function returns always even if it’s undefined but makes sense with return function ending

  • @mattiaesposito5525
    @mattiaesposito5525 5 лет назад

    i really like the part about closures good job

  • @saplingqwason
    @saplingqwason 5 лет назад +2

    what do you use for the emoticons in your IDE?

  • @hannanel100
    @hannanel100 5 лет назад +2

    Thanks for the helpful video!
    Is there an extension that outputs your console logs right there on your code or are you just adding it as comments?

  • @CodingCatDev
    @CodingCatDev 5 лет назад +2

    Wait you have Baywatch, E.T., Conjunction Junction, it is like I am in a time machine! Oh yeah the JS content was good too 😸

  • @migvelv
    @migvelv 2 года назад +2

    Conclusion: dog balls

  • @wchorski
    @wchorski 2 года назад

    To help me understand better.
    const [ meow, setName ] = useCat();
    the "meow" function is just calling the first "useCat();" and "setName" is calling "newName"?

  • @maxiequa567
    @maxiequa567 5 лет назад

    "There will be an entire video dedicated to Object Oriented Javascript and 'this' in much more detail...Can you add that video to the playlist please :)

  • @aBradApple
    @aBradApple 7 месяцев назад +1

    Not sure if I should be watching this after a week into learning to program, but it's nice to help shape my mindset for the coming months.

  • @evolopterus
    @evolopterus 4 года назад +14

    Love your videos! Fast paced, information dense, beautifully presented. One thing I want even more of... dedicate a little extra time presenting best/recommended practices, because often there's many ways to do a similar thing in JS. (In this particular video, you do express an opinion on best practices, on other videos not so much. ) Thank you!

  • @Dzigi89
    @Dzigi89 2 года назад

    Awesome video, can't be simpler than this, thank you sir!

  • @davesomeone4059
    @davesomeone4059 Год назад +1

    I've watched a lot of tutorials. I still don't get it but at least this one got me to get it a little bit more.

  • @bennettfoley3018
    @bennettfoley3018 5 лет назад

    Great lecture as always. Thanks!

  • @gladstonross12
    @gladstonross12 5 лет назад

    all was good but the recursion part was a pain in the AAAAA.. i hope there will be a video on the event loop and how to write non-blocking code XD

  • @The-Average-Gamer
    @The-Average-Gamer 5 лет назад

    Love your content!! Any ETA on the angular course?

  • @superyngo
    @superyngo Год назад +1

    this and self in function now refers to windows?right?

  • @vladimirjean
    @vladimirjean 5 лет назад +3

    Like always, awesome videos, looking forward to watching the next one, keep it up!

  • @johnmikelregida7142
    @johnmikelregida7142 5 лет назад

    Fan of your videos since I found out about Angular Firebase! ❤️
    Just a quick question, what’s the plugin that you use that gives the realtime comments (like on 8:22)? Or did you edit the video with it?

  • @alsaamit
    @alsaamit 5 лет назад

    Ohh Man .. Which Theme do you use in Vs code ? .. i like everything about you your content and your Theme XD

  • @janhiness
    @janhiness 4 года назад +2

    Thank you, I’ve been struggling understanding functions but you helped and even got a few laughs 🤣 which is rare when learning js.

  • @caronfernandes4625
    @caronfernandes4625 3 года назад

    wow this could be a Netflix series

  • @elmotareal
    @elmotareal 5 лет назад

    Hmmm, i read somewhere that we better use array map over for loop, as it's better performant, i think it was one of your earlier videos, I don't understand why a for loop is better

    • @Fireship
      @Fireship  5 лет назад

      The for loop is always faster. ruclips.net/video/x7Xzvm0iLCI/видео.html

  • @YashGupta-dr5re
    @YashGupta-dr5re 5 лет назад +2

    5:40 Please release the video soon, I want to learn more about Object-Oriented JavaScript.

  • @JonSmoley
    @JonSmoley 5 лет назад +4

    +1 for the 'meow' at 10:00

  • @will_abule
    @will_abule 5 лет назад

    Programming has been made entertaining by you

  • @divinedela9125
    @divinedela9125 5 лет назад +9

    "The best way to understand these concepts is to get a lot of practice." Another Great video . Thanks Jeff

  • @G3Number
    @G3Number 5 лет назад

    Amazing content as always! Insta thumbs up!

  • @matheusazevedooliveira8222
    @matheusazevedooliveira8222 5 лет назад +2

    That's the quality content I'm subbed for...
    Thanks!

  • @donalfonsnisnoni2819
    @donalfonsnisnoni2819 5 лет назад +1

    Good.. but everytime i watch fireship videos... i slow down the video speed...

  • @BAMBAMBAMBAMBAMval
    @BAMBAMBAMBAMBAMval Год назад

    Breakfast includes main... If my life was written in c++ i would also call main during breakfast... Infinite breakfast....

  • @user-vg7zv5us5r
    @user-vg7zv5us5r 2 года назад +1

    8:20 Does JS have a command list like in Tekken and the area, platform to practice combos, ahem, functions?

  • @Heisenberg-xc8ub
    @Heisenberg-xc8ub 2 года назад

    I've been developing with JavaScript for more than 3 years and some of these, I use without knowing some of the info. Like I prefer using arrow functions because I didn't have to bind the functions on react but I don't know why it actually worked with "this" but other declarationa didn't. Now I know the answer 🤦‍♂️

  • @leondu
    @leondu 5 лет назад +1

    omg, how's that dog's balls...

  • @LynnK2000
    @LynnK2000 5 лет назад +12

    Definitely the most engaging programming course I've found online, I always look forward to your uploads. Keep up the good work 🙂

  • @russelldriver6394
    @russelldriver6394 4 года назад +2

    You have done a fantastic job on these videos, really well done! The editing and comical quirks really keep the interest. Glad I stumbled across them.

  • @ZeeshanElia
    @ZeeshanElia Год назад

    Which is best methood and How to quckly master the JavaScript

  • @AshtonSnapp
    @AshtonSnapp 4 года назад

    I still don’t get it. Why are there so many ways to define a function? You have a function declaration, a function expression, an arrow-syntax function expression - what’s the point??? Why use one over the other???

  • @fantasymels
    @fantasymels 4 года назад +1

    This is crazy. In the first 5 mins, so many concepts clicked for me.

  • @LawrenceTheGreat
    @LawrenceTheGreat 5 лет назад +2

    I think you nailed the style. These videos are a really great combination of clarity, humor, and substance.

  • @ambarmutha8504
    @ambarmutha8504 5 лет назад +1

    🤔I wonder who gave those 2 dislikes

  • @fuadnafiz98
    @fuadnafiz98 4 года назад +1

    Love his video editing skills and emoji selection 😁

  • @jackvillanueva3085
    @jackvillanueva3085 4 месяца назад

    I like the video style. However if there is one thing I could suggest is to speak slowly maybe 20% slower than this current narration speed. or maybe it's just me who find it too fast since I'm just learning programming. But thank you for the nice video.

  • @nayaleezy
    @nayaleezy 5 лет назад

    for the love of typed arguments & returns use Typescript already 😘

  • @northcote3070
    @northcote3070 2 года назад

    unnecessarily complicated ...could have been simple ...but no. missing the point of teaching.

  • @ClaytonVau
    @ClaytonVau 5 лет назад +1

    0.75 speed

  • @saadabbasi2063
    @saadabbasi2063 5 лет назад +2

    Jeff you’re content qualitybis continuously improving continuously, please just keep never stop this channel 🤩

    • @Fireship
      @Fireship  5 лет назад +3

      I will never stop stopping.

  • @Luxcium
    @Luxcium 2 года назад

    Douglas Crockford 3:19 is WRONG 😑 because you have « something » that you describe inside the parents which becomes your function and then you can call 📞 what the stuff inside the parents represents (like replacing the whole expression including those parents with a variable which would be the name of the function) same thing as when you do (45 - 3) / (2) and it’s not the same as (45 - 3 / (2)) or if you are doing (45 - 3 + (2)) or (45) - (3 + 2) anyway not only it is my opinion but I think it’s just a fact…

  • @greenie62
    @greenie62 3 года назад

    Thought I was finally gonna watch one where I knew most of the stuff...n then, dog balls. lolol.
    X= [ vid, channel]
    X.map(I=> 'Great ${I}!')

  • @ShivanshuPareek
    @ShivanshuPareek 6 месяцев назад

    How do you use these icons in V.S. Code? they look so cool! (started programming a week ago😵‍💫😬)

  • @aureliojmnz2959
    @aureliojmnz2959 2 года назад

    "...naming functs almost as hard as making a joke about programming...." |D

  • @davidliddle6477
    @davidliddle6477 Год назад

    JS is my only real friend, besides the mentally I’ll security analyst that is stalking me and projecting it’s depression onto me.

  • @flowerjamcc2853
    @flowerjamcc2853 Год назад

    Now that its 2023, what do uu think is the cool and important JavaScript video that is missing from the internet ? Make it please 😃🤩

  • @dibbyo456
    @dibbyo456 2 года назад

    Now I understood why Jeff Atwood named "StackOverflow "

  • @dcknature
    @dcknature 2 года назад

    Okay, you got me on this one 😊!
    Hence I liked, subscribed and wrote 179-th comment to this video 😁👍.

  • @trophieboi1820
    @trophieboi1820 5 лет назад +1

    Watches fireship....
    Blows the mind 12times....

  • @shriniwasrocks
    @shriniwasrocks 5 лет назад

    beautiful!

  • @2aryanpro
    @2aryanpro 5 лет назад

    What text editor is he using, also what plugins is he using as well.

  • @HopoZ7
    @HopoZ7 Год назад

    Do you know how to show the debugg information after the code like in the video?Thank you.

  • @denshin2724
    @denshin2724 4 года назад

    For newbies, this was Rapgod, but then for the coding world....

  • @user-vg7zv5us5r
    @user-vg7zv5us5r 2 года назад

    8:30 I had always knew that you should treat PL as some sort of fighting game combo movelist notation.

  • @cloudtraining3816
    @cloudtraining3816 3 года назад +1

    2 Questions: @10:31 1. shouldn't useCat() take in the newName parameter? 2. what does const [ meow, setName] = useCat() mean? does it mean the function is somehow assigned to an array through es6 that for some reason is a const rather than let?/ or rather are meow and set name parameters with brackets rather than parentheses?? anyone's feedback would be appreciated

    • @cloudtraining3816
      @cloudtraining3816 3 года назад

      do the brackets mean that they are parameters for the return functions somehow? const [ meow, setName] = useCat() is weird, thanks to anyone who has a link to docs on this syntax

    • @cloudtraining3816
      @cloudtraining3816 3 года назад

      @11:23 related question, const {join} = require ('path') similar to the array next to const, why are there now object brackets next to const?

    • @cloudtraining3816
      @cloudtraining3816 3 года назад +1

      saw ur video on destructuring, but still don't get question number 1. shoudn't useCat take in the newName parameter? how does a return function take in arguments?

    • @cloudtraining3816
      @cloudtraining3816 3 года назад +1

      i learned a bit more about destructuring... meow and setName become the names to the functions in the array -- why not name them to begin with? why not parameters in the useCat() function definition like useCat(setName)?

    • @cloudtraining3816
      @cloudtraining3816 3 года назад +2

      answer to question about @11:23: join method on the path object is named through object destructuring, instead of just requiring all of path and assigning it to a variable

  • @anderskok9919
    @anderskok9919 5 лет назад +1

    What extensions do you use, more specifically the extension that comments your code real time?

  • @mmmike3426
    @mmmike3426 5 лет назад +1

    This is the best JS video I have ever watched. What a great job! Love it!!!

  • @timothydog76
    @timothydog76 2 года назад

    Someone is a Super Troopers fan? :D @10:04

  • @MrStefanica
    @MrStefanica 3 года назад

    Man, you should be nominated for the Nobel Prize ! :-)

  • @seymurmammadov3868
    @seymurmammadov3868 3 года назад

    Is there a good reason to ever return an array of functions? real world example?

  • @acethomas5774
    @acethomas5774 3 года назад

    Is there anyone who knows how to do scripts for an online game I really need help badly

  • @dawid_dahl
    @dawid_dahl 3 года назад

    For anyone who wants to learn about functions in a deeper way, I highly recommend the podcast LamdaCast. It really took my programming understanding to the next level. 👍🏻

  • @dgmstuart
    @dgmstuart 2 года назад

    “Meow let’s go ahead and define a function called useCat” 😹

  • @lifasibiya4810
    @lifasibiya4810 5 лет назад +1

    Awesome 🤘🏽 video man. That 'meow' was so smooth 😅

  • @Naveenkashyap243
    @Naveenkashyap243 5 лет назад

    Why do u copy paste?

  • @PrashantSingh-ge6vf
    @PrashantSingh-ge6vf 2 года назад

    here is the piece of advice for you "speak slowly"

  • @chemicalangel5227
    @chemicalangel5227 Год назад

    Why is no one talking about 'meow' at 10:05?

  • @ZeeshanElia
    @ZeeshanElia Год назад

    Superbbbbbbb 👍

  • @Doljan345
    @Doljan345 3 года назад

    For better sanity watch this at 0.9 speed

  • @marcschiavone9549
    @marcschiavone9549 3 года назад

    if i could give more than 1 like I would

  • @ericadigiulio9639
    @ericadigiulio9639 3 года назад

    You put wolf as a dog breed I can't

  • @Luxcium
    @Luxcium 5 лет назад +4

    11:03 I don’t understand what is maximum call stack size exceeded ... Should I reach to stack overflow to get an answer because to do that will be an impossible recursive task to achieve 😜

  • @mansonmania
    @mansonmania 2 года назад

    Too fast and not beginners friendly

  • @harrisjm62
    @harrisjm62 Год назад

    Thank you so much Fireship, you have been a lifesaver! This was the one thing that wasn't clicking for me since starting JS on freeCodeCamp.