6.1: Introduction to Object-Oriented Programming with ES6 – p5.js Tutorial

Welcome to Object-Oriented Programming in JavaScript!

This video is a quick introduction to this collection of videos on the subject of Object-Oriented Programming in JavaScript with ES6 classes and the p5.js library.

Next Video: https://youtu.be/T-HGdc8L-7w

Support this channel on Patreon: https://patreon.com/codingtrain
To buy Coding Train merchandise: https://codingtrain.storenvy.com
To Support the Processing Foundation: https://processingfoundation.org/support

Send me your questions and coding challenges!: https://github.com/CodingTrain/Rainbow-Topics

Twitter: https://twitter.com/shiffman
The Coding Train website: http://thecodingtrain.com/

Links discussed in this video:
ES6 playlist: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6YgpA3Oht-7B4NBQwFVe3pr

Source Code for the all Video Lessons: https://github.com/CodingTrain/Rainbow-Code

p5.js: https://p5js.org/
Processing: https://processing.org

For an Intro to Programming using p5.js: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6Zy51Q-x9tMWIv9cueOFTFA
For Coding Challenges: https://www.youtube.com/playlist?list=PLRqwX-V7Uu6ZiZxtDDRCi6uhfTH4FilpH



Leave a Reply
  1. I'm sure there's a demand for OOP in JS (especially for programmers coming from Java), but is it really worth learning a bad practice? I mean, OOP adds a complexity to the code that is not necessary in JS. You can just use OLOO-style coding and you'll be just fine.

  2. (7.4: The Constructor Function in JavaScript)-in this video there is also a constructor function and here is also an constructor function but they are different.. I can't figure this out and also feel uncomfortable. Can you please make me clear about these two constructors?

  3. we can simply change the old materials e.x. using class to replace old object style, and replace var with let/const, still working, but it will be awesome if you create a new p5.js series using ES6 and for people who don't know old style ES5, learn new concept from very beginning is the right way because ES6 has become standard nowadays…

Leave a Reply

Your email address will not be published. Required fields are marked *