3 ms·
I think typescript development is driven more by functional languages, than OOP languages. However, they do provide some syntactic sugar for OOP, which is usef
by addicted 10y ago
I think typescript development is driven more by functional languages, than OOP languages.
However, they do provide some syntactic sugar for OOP, which is useful if you have a JS codebase that is using OOP, because if nothing else, it provides a standardized method of creating objects and classes.
Unfortunately, because most devs are comfortable only with OOP and since typescript is amongst the easiest ways to do OOP in JS, a lot of Typescript code in the wild tends to be OOP heavy.