3 ms·
And then MS invented Typescript and it was all classes onward... I don't really get it either, and I am saying this as someone who codes in both JS and Java. W
by iSnow 5y ago
And then MS invented Typescript and it was all classes onward...
I don't really get it either, and I am saying this as someone who codes in both JS and Java. While thinking in OOP concepts comes naturally for me, I found the prototype/function based approach of JS a breeze of fresh air.
I guess the turning point was when JS migrated to the backend and more complex business logic was written in JS. As long as you are basically rendering view state or filtering data, traditional JS is much easier. But write the business logic of some enterprise app, and you want to use the OOP paradigms.