DEV Community

Discussion on: No, TypeScript is not OOP version of JavaScript

Collapse
 
gosukiwi_20 profile image
Federico Ramirez

Classes don't mean OOP. JS was OO before it had classes, using prototypes and constructor functions. But people didn't know how to use it as it was too different.

This article just continues building on misconceptions.

Collapse
 
macsikora profile image
Pragmatic Maciej

O agree with you that classes are not needed to do OOP. But this is how mainstream sees OOP, and unfortunately the same look at things have tc39 as they made them a way to the language.

Purpose of this article was not to describe what is or not OOP but decline any OOP differences between TS and JS