Hacker News new | ask | show | jobs
by temeritatis 1237 days ago
> and I found ruby to be really difficult to understand

This is my one pain point with JS actually. I've tried getting comfortable for literally years. Sometimes when i look at how stuff is done in JS, it's so incredibly alien to me. I just can't wrap my head around what is happening.

I was hoping it would go away with time. Unfortunately it doesn't. Maybe it's the "flexibility" of the language or something.

1 comments

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.