logoalt Hacker News

jonkoopslast Thursday at 12:15 PM1 replyview on HN

This is a common thing I see when developers that come from an OOP enterprise environment familiar with Java, C#, etc. do JavaScript, they try to use all the same patterns, default to classes for everything. It just doesn't fit the language.


Replies

threetonesunlast Thursday at 2:42 PM

It was fascinating to me to see JavaScript add the class keyword, have it be widely adopted thanks to React, then just a few years later seeing `class` in JavaScript code is, as you said, a clear sign a Java/C# dev was here.

show 1 reply