Object-Oriented Programming In JavaScript + New Year's Resolutions

34:02
 
שתפו
 

Manage episode 281761796 series 2792805
על ידי Andrew Ly & Jason Yata, Andrew Ly, and Jason Yata התגלה על ידי Player FM והקהילה שלנו - זכויות היוצרים שמורות למפרסם, לא ל-Player FM, והשמע מוזרם ישירות מהשרתים שלכם. הירשמו כדי לעקוב אחר עדכונים ב-Player FM, או הדביקו את כתובת העדכונים באפליקציות פודקאסט אחרות.

This episode we go back into the technical, and we discuss Object-Oriented Programming! Today we talk about how to cultivate your dev story! We talk about why we use it and the four pillars of OOP.
The four pillars of object-oriented programming are:

  • Abstraction - To abstract something away means to hide away the implementation details inside something – sometimes a prototype, sometimes a function. So when you call the function you don't have to understand exactly what it is doing.
  • Encapsulation -Removing access to parts of your code and making things private is exactly what Encapsulation is all about (often times, people refer to it as data hiding).
  • Inheritance - Inheritance lets one object acquire the properties and methods of another object. In JavaScript this is done by Prototypal Inheritance.
  • Polymorphism - Polymorphism means "the condition of occurring in several different forms." That's exactly what the fourth and final pillar is concerned with – types in the same inheritance chains being able to do different things.

During our second half we discuss our New Year's Resolutions in coding/developing and in general.
Connect With Us!
Instagram: @badforeducationpodcast
Twitter: @badforedupod
Email: badforeducationpodcast@gmail.com
Send us questions! Or say hello to us via email!

Want a free $20 Amazon gift card and to start your own podcast with Buzzsprout?
It's as simple as one click in our link below. Get started today, and have access to their extensive network and assistance. Podcasting isn't hard when you have the right partners!
Click our link here

37 פרקים