Hacker News new | ask | show | jobs
by Mikeb85 1274 days ago
> Is Rails anti Typescript? It’s weird to see most other JS environments move to Typescript by default, while Rails now now ignores the ability to use it without jumping through hoops.

Have you not paid attention to the direction Rails is going? Hotwire (Rails' default front end) is all amount rendering HTML directly (not via JS) and using the absolute bare minimum amount of vanilla Javascript (with Stimulus). It's not React... So why would it need TypeScript's features and added complexity?

The whole point is using vanilla ES6 without a compilation step...

2 comments

If Hey has shown me anything, it is that Hotwire IMO is a complete gimmick. The frontend of Hey had so many issues for me. I used used hey from release until about a month or two ago, and it was the terrible UXUI experience that pushed me to cancel. Weird loading issues, things would update after performing actions, not loading in place correctly etc.
If you think Hey’s UI is bad, you should try Basecamp
Could you provide some examples? I use basecamp 8+ hours a day and have no idea what you have in mind.
My post was mostly in jest. I’m well aware the “method_missing” crew has no desire to statically analyze their programs.