16.18: Polymorphism in JavaScript - Topics of JavaScript/ES6

Subscribers:
1,750,000
Published on ● Video Link: https://www.youtube.com/watch?v=8a5BkwuZRK0



Duration: 9:29
62,083 views
1,836


In this video, I discuss the concept of Polymorphism in Object-Oriented Programming (OOP) with JavaScript and using ES6 classes. Code: https://thecodingtrain.com/tracks/topics-in-native-javascript/js/polymorphism

đŸ•šī¸ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/sketches/7MhdISflX

References:
📃 Strong and Weak typing: https://en.wikipedia.org/wiki/Strong_and_weak_typing
📃 Statically vs Dynamically Typed: https://medium.com/android-news/magic-lies-here-statically-typed-vs-dynamically-typed-languages-d151c7f95e2b

Videos:
🚂 Introduction to Inheritance: https://youtu.be/e6eXD8DHc_A
🚂 Introduction to Polymorphism: https://youtu.be/qqYOYIVrso0
🚂 Classes in JavaScript: https://youtu.be/T-HGdc8L-7w

Timestamps:
0:00 Hello!
0:13 Encapsulation and Inheritance
0:57 What is polymorphism?
1:31 Strongly typed and explicit typing
2:42 When does this matter?
3:49 Let's make an array with multiple types of particles.
5:41 Extending classes you didn't write like p5.Vector!
8:59 Thanks for watching!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/passenger-showcase-guide
🚩 Suggest Topics: https://github.com/CodingTrain/Suggestion-Box
💡 GitHub: https://github.com/CodingTrain
đŸ’Ŧ Discord: https://thecodingtrain.com/discord
âœĒ Nebula: https://go.nebula.tv/codingtrain
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
đŸ–‹ī¸ Twitter: https://twitter.com/thecodingtrain
📸 Instagram: https://www.instagram.com/the.coding.train/

đŸŽĨ Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH
đŸŽĨ Intro to Programming: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-of-Conduct

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecodingtrain.com/issues/new

#polymorphism #oop #classes #javascript







Tags:
JavaScript (Programming Language)
live
programming
daniel shiffman
creative coding
p5.js
coding challenge
p5.js tutorial
p5js
javascript (programming language)
tutorial
javascript
coding
challenges
coding train
the coding train
object.prototype
es6 classes
es6 inheritance
es6 polymorphism
classes inheritance
classes javascript
polymorphism in oop
polymorphism
polymorphism javascript