Prototypes in JavaScript - FunFunFunction #16

preview_player
Показать описание
💖 Support the show by becoming a Patreon

Let's say that you have a food type, and you want to make lots of different instances of that food, such as waffles, and I don't know why you'd want any other food than waffles, but maybe you like carrots or something. In that context, *food* is the prototype of *waffles* and *carrots*.

Some of you will be thinking - that reminds me of classes! You'd be right, but they are not the same thing, so try to put classes aside and think of prototypes as something completely new - if you try to shove prototypes into the same place in your brain where you keep classes you'll be very unhappy.

💛 Follow on Twitch
We record the show live Mondays 7 AM PT

💛 Fun Fun Forum

💛 mpj on Twitter

💛 CircleCI (Show sponsor)
Robust and sleek Docker-based Continuous Integration as a service. I used CircleCI prior to them becoming a sponsor and I love that their free tier is powerful enough for small personal projects, even if they are private. Use this link when you sign up to let them know you came from here:

💛 Quokka (Show sponsor)
Wonder how MPJ evaluates JavaScript inline his editor. Quokka is the answer - use this link when you buy to let them know you came from here:

💛 FUN FUN FUNCTION
Since 2015, Fun Fun Function (FFF) is one of the longest running weekly YouTube shows on programming 🏅 thanks to its consistency and quality reaching 200,000+ developers.

🤦‍♂️ The Failing Together concept is what makes FFF unique. Most coding content out there focus on step-by-step tutorials. We think tutorials are too far removed from what everyday development is like. Instead, FFF has created a completely new learning environment where we grow from failure, by solving problems while intensively interacting with a live audience.

Tutorials try to solve a problem. Failing Together makes you grow as a developer and coworker.

📹 Each show is recorded live on Twitch in a 2-hour livestream on Mondays. The host, assisted by the audience, is tasked to complete a programming challenge by an expert guest. Like in the real world, we often fail, and learn from it. This, of course, reflects what the audience identifies with, and is one of the most praised aspects of the show.

⏯ On Fridays, an edited version of the show is adapted for and published on YouTube.

Content Topics revolve around: JavaScript, Functional Programming, Software Architecture, Quality Processes, Developer Career and Health, Software Development, Project Management
Рекомендации по теме
Комментарии
Автор

Disclaimer: Drinking while coding AND/OR hungover may result in gibberish or mistyped variable names...

rickbehl
Автор

You 're so funny and i've learned new stuff, Thank you man

mahmoudzakria
Автор

I just found this channel today, I'm speechless. You're a great teacher, and you make things funny. I have a Q&A request, how do you get inspiration for side projects?! I'm currently an intern, trying to make awesome projects, but I can never come up with something I want to create.

DeadmanJeff
Автор

The fastest and best way that anyone ever explained JS prototypes.

raminsadeghnasab
Автор

I just hate when programmers complain about music. I really like it and I think it makes your videos more entertaining. Continue your excellent work.

deryost
Автор

One of the best explanations of what JavaScript Prototype is and how to use it.

Thank you - I enjoyed your approach. Now do this again without a hangover.

mktwatcher
Автор

Mpj, thank you a lot for your great videos. Looking forward for the more detailed one about prototypes. Also would be glad to see a detailed video on closures.

yantakushevich
Автор

Thank you for this video been looking into this subject excited for next monday! Love that you make the videos funny with stuff like 5:08.

briancoates
Автор

I love the background music!! Thnx for the video!

haldunatar
Автор

The first tutorial since yesterday where I got some grasp of prototype - Liked, Subscribed, Belled wish I could do more!

danish
Автор

Really appreciated your energy, enthusiasm and humor. It was a refreshing contrast from the normal seriousness of an already logical topic. Thanks a lot!

CameronChardukian
Автор

It's a great source of entertainment just to watch ! Thanks man for your effort

johnhill
Автор

Thumbnail looks like you're about to drop the most fire album of 2016

AvindraGoolcharan
Автор

Interesting video ! Simple introduction to prototypes. Need to explore more though. Thanks for sharing!

tradertube
Автор

this is so fun (and informative) to watch hehe thank you!

fireystella
Автор

You are great man. Learned a lot and was truly entertained

BM-ufpp
Автор

I finally understood what Prototypes are in a very fun way. Seriouslly man, I laugh a lot with your videos, thanks for doing this.

noelperezperez
Автор

I should definitely have checked your Quora profile before. These videos are great!

MaxWilliam
Автор

very clearly explained, good start of Monday morning.

krishnayallapanthula
Автор

You always give me so much jokes.. keep up the great work.. i am a long time programmer, you explain things very well, you explained it how i have always known it to work..

DJLNR