Hacker News new | ask | show | jobs
by moomoo11 1238 days ago
imo JS is one of those languages that is hard to master. It has quirks, and there are a lot of ways to do something just like ruby.

Whenever I have to use typescript, I use es6 classes with static methods on them. Helps me keep no internal state and everything is organized.