Hacker News new | ask | show | jobs
by FractalHQ 1601 days ago
As someone who uses Typescript in Svelte, I feel like I’ve found the perfect paradigm. I can import any Vanilla JS lib from NPM and use it directly. I can wrap things in Sveltes lovely syntactic sugar, and the ugly / unwieldy parts of JS really just fade away. What I’m left with is something I struggle to find ways to improve. If I closed my eyes and tried to imagine the most elegant and intuitive way to write a web application - I end up with a Svelte component with TS, SCSS, and sometimes Pug in between for the template. All of those are easy to use out of the box in a Svelte component. And I don’t need to learn a new language to be productive.

Last time I tried Rescript, it felt like I was isolating myself on an island away from the greater ecosystem. But I don’t think I gave it enough of a chance. I admire the vision, and I’m rooting for the team. And who knows, perhaps a Svelte component with Rescript in the script tag could be the new pinnacle I didn’t know I wanted!