Next lesson playing in 5 seconds

Cancel
  • Overview
  • Transcript

3.1 Conclusion

Despite the popularity of Vue, React, and similar frameworks, vanilla object-oriented JavaScript is still a useful and productive way to write web apps. It may require a little extra work, but you end up with an app that will work forever.

My name is Jeremy McPeak. Thank you for watching!

3.1 Conclusion

Despite the popularity of Vue, React, and similar frameworks, object-oriented JavaScript is still a useful and productive way to write web applications. It may require a little extra work but at the end of the day you end up with an application that will work forever. Before I leave you, there are some concepts I want you to make note of. First, be mindful of your application's needs. If you just need a single object then don't write a class, just write a normal single object, just like we did for our application object. Second, classes are really only useful when you want to create multiple objects of the same type. The containers and the items in our application are perfect examples of this and they're also perfect examples of code reuse. We were able to reuse a lot of code for different objects by using subclasses. Thank you so much for watching this course. Please feel free to contact me through Twitter or the Tuts+ forums if you have any questions. From all of us here at Tuts+, thank you and I will see you next time.

Back to the top