The 10 Days of JavaScript: Day 6 (Higher-Order Functions)

preview_player
Показать описание


Follow me for cat pics:
Рекомендации по теме
Комментарии
Автор

I'm using document.write() as a quick and dirty way to see/test values instead of always using console.log(). Please do as I say and not as I do :) Do not use document.write() for anything beyond this simple testing case and outside of CodePen I'd say *never* use it. In future lessons we will learn far superior ways of adding HTML content to the page from JavaScript. Also, in the real world we would never want to repeatedly update the page for each item like this, it's much better to use JavaScript to create one big string of HTML content (could concatenate to a string variable from within a while loop or forEach or even use array.reduce()) in memory first and then only add it to the page all at once. However, that's getting into efficiency and web browser performance which are not topics I wanted to address this early in the course :)

LearnWebCode
Автор

I don't understand why many software tutorials fail to keep things simple and understandable.
The clarity of your speech and thought is phenomenal. You are truly an outstanding teacher for being able to explain in beginning friendly terms, web dev jargon and concepts. Your channel makes me feel welcome as a learner.


Unlike the esoteric circle jerk happening at stack overflow where the less informed are shamed and shunned.

krishchandrahasan
Автор

Amazing! Where on earth were you when I tried to learn this in college 10 years ago? Whoever is paying you? I want to tell them that you certainly need a raise! I am referring you to every one that I know who is struggling to try and understand this language.

Honestly, who would have thought to teach us the basic language, before jumping into those complicated projects, that were cool, but no body knew where, or even how the computer knew what we were trying to tell it; especially, when we had not idea what we were trying to say.

stardust
Автор

You won't believe that I saw many videos of js on YouTube... But i must say that no one can teach like you seriously. Sir totally you made for coding and teaching. Thank you so so much sir.

meherali
Автор

Brad, I am an adorator. I truly worship you in the world of Web Development. Thank you so much.

foupax
Автор

Mine blown. 🤯

We've now gotten to the parts that I haven't studied yet. I've been exposed to functions that return functions but I didn't know what they were called, why to use them, or common ones I'd see in my work.

Thanks for this. I'm pumped!

HashimWarren
Автор

And for your information this is not boring at all! You make it so much more fun than my bootcamp did and you cover things much better than they did! Thanks!

heatherherries
Автор

this is so informative compared to other videos i watched, other videos only showed examples of higher order functions while this video actually explained what they are. thank you!

ayzeyesice-x
Автор

You are worth your weight in gold and more! This is the best explanation of this on the internet!

Flimflamed
Автор

great work! very simple and clear explained. speaking tempo is perfect. no typos or small errors, like you really prepared to give a lesson. and most importantly no dump jokes but serious video as it should be

bojangligorijevic
Автор

This is the best explanation of higher-order functions I've come across...and I've bought quite a few JS courses on Udemy already (looking forward to buying this one, too!!)...no one explains this stuff better than Brad here has.

dahliadave
Автор

A really fascinating lesson and takes a while to get what's happening and making the connection that the variable doubleMe, is only referring to the function of createMultiplier(x2) as double suggests: but the value passed to doubleMe in the document.write(doubleMe(x)), is not the multiplier value in createMultiplier, but the value passed to X in the function that is returned!.... X times by the value in the createMultiplier function which is dictated by the variables defined after the function body.
A good lesson.
I'm only writing this to make sure I've understood it!

davidgent
Автор

Fascinating and well explained. Thanks Brad! Keep it up, excited for your full course.

adam.d
Автор

JavaScript never fails to surprise you. Great tutorial. Each and every points explained really good. Thank you.

VersusMythical
Автор

Your teaching and explaining skills are remarkable it would be very helpful if you did
full tutorials or perhaps some advance level javascript like call backs, closures etc.

bijaylama
Автор

Wow. It's amazing how easy that is once it makes sense! Thanks for explaining it so nicely!

tokyocatattack
Автор

I've been struggling so much with this and you've made it perfectly clear. Thank you so much!!!

WhatNow_IS
Автор

Great information and great job delivering the content. I am following you to ensure I do not miss the release of your course.

Retnuh
Автор

Thank you for this Course in JS from Germany!

ahbu
Автор

Thank you for plain JS course. We needed it.

oguzakankan
visit shbcf.ru