Comment

Comment by sfvisser

> But why create a new formatter? When we began our Rust rewrite, we fell in love with rustfmt, Rust’s own formatter. It formatted code instantly, unlike JavaScript formatters which could often take quite a few seconds on larger files.

I write quite a bit of Rust and quite a bit of TypeScript and use both rustfmt and prettier. I really like both tools, but don’t think rustfmt is much faster honestly. I would probably say prettier in VSCode feels a bit more responsive.

parent sfvisser 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton