Programming Terms: First-Class Functions

preview_player
Показать описание
In this programming terms video, we will be looking at the term "First-Class Function". First-class functions are extremely important to grasp because understanding them will help us understand more complicated terms such as: Closures, Higher-order functions, currying, and more. We will be looking at examples of first-class functions in both Python and JavaScript so that we can really understand the concept, regardless of programming language.

The code from this video can be found at:

✅ Support My Channel Through Patreon:

✅ Become a Channel Member:

✅ One-Time Contribution Through PayPal:

✅ Cryptocurrency Donations:
Bitcoin Wallet - 3MPH8oY2EAgbLVy7RBMinwcBntggi7qeG3
Ethereum Wallet - 0x151649418616068fB46C3598083817101d3bCD33
Litecoin Wallet - MPvEBY5fxGkmPQgocfJbxP6EmTo5UUXMot

✅ Corey's Public Amazon Wishlist

✅ Equipment I Use and Books I Recommend:

▶️ You Can Find Me On:
Рекомендации по теме
Комментарии
Автор

Rabbit hole: Classes > Decorators > Closures > First-Class Functions. Thank you Corey

kickbuttowski
Автор

*goes on tutorial for decorators*
You: If you haven't seen my video on closures, you may want to check that out since I won't be spending a lot of time on them
*goes on video for closures*
You: if you haven't seen my video in first time functions you may want to check that out since I won't be spending to much time explaining that

Damnit Corey...

Nonetheless I love the videos, keep up the good work man.

darthvador
Автор

I ended up here because I was watching "Python OOP Tutorial 3: classmethods and staticmethods". Thats a chain invocation of tutorials :D:D:D

FamilyGuySweden
Автор

I find Your Tutorials outstanding in terms of ease of understanding. I am 62 years old and haven't touched a keyboard since dbase 3 and Lotus 1-2-3. You are making my learning experience with Python much easier. Thank you very much. Kelley Wooten

kelleywooten
Автор

Corey is a beast at teaching people how to code.

ledosilverknight
Автор

I've watched half a dozen videos on Python first class functions but only now, after watching this from Corey, do I understand it.

colemanj
Автор

I've been working with Python for so long, but after watching Corey's videos, I realized how many basics I was missing out on! Thank you so much, you're just amazing!

akshgpt
Автор

I have been using python for the last two years, but after watching some of your videos, I have decided to watch all the basic tutorials from your videos, again. Thank you ver much for giving us point of view.

alperakbash
Автор

Nice vid, one mention though, @5:13 in the video, in the for loop of javascript, I think the correct line is : this way you use the actual array items instead of generating one yourself with i value. Also this way you can let var i = 0 . Thanks

eugen
Автор

you're a freak of nature, my guy. You just took me to that next Python level. THANK YOU!!

classik
Автор

Some tutorials never gets old! Such a great teacher

Deepak-yzzl
Автор

This guy really knows how to explain programming languages. Amazing!

thsdsyt
Автор

I've made a few attempts at understanding decorators but you really broke it down very well and I got that "why did this ever seem so difficult?" moment. I apricate your pace and the practical examples. Thanks. You have another subscriber.

dgbene
Автор

6:30 Corey, you a little bit messed up with your JS my_map function :). It behaves in this particular case as its python counterpart only because an array has values [1, 2, 3, 4, 5], try to change items in an array(list) and JS results will do not match with python results.
It should look like this:
function square(x) {
return x * x;
}

function my_map(func, arg_list) {
const result = [];
for (var i = 0; i < arg_list.length; i++) {

}
return result;
}

var squares = my_map(square, [1, 2, 3, 4, 5])

console.log(squares)
BTW. I've been watching you for a wile and today actually decided to subscribe. A good and useful channel, a good explanation.

artihlec
Автор

Very nice. Well thought out examples for a topic that's rarely covered.

Colstonewall
Автор

The more closures you add, to closures, it makes more sense as you're like, saving information to make a function be used for a specific purpose.

Descart
Автор

After reading what the dictionaries say in so many words and very confusing, amazing Corey you did it in a single line very clear. This makes me think "you should be hired by dictionary entities to give definitions". Thanks for your help!

andresvodopivec
Автор

I have read so many articles and was still clueless about this concept. I watched your video only for 10 minutes, something that i thought was so complicated, understood in a jiffy. You are awesome. Thank you so much.

princeofxane
Автор

finally found someone who got me crystal cleared with first class functions, closures and
good work Corey !

rishabhmishra
Автор

I saw ur first video when i was not able to find a good tutorial on iterators and generators and now i refer to ur videos when i have to know anything bout the language...
truly an amazing teacher

shashanknegi