3 ms·
> Code formatting takes a lot of time It doesn't, really. On larger projects, you read much more code than you write. Formatting well is not something complex
by The_Colonel 3y ago
> Code formatting takes a lot of time
It doesn't, really. On larger projects, you read much more code than you write.
Formatting well is not something complex - I basically just format with WebStorm, and only tweak that (mostly line breaks). People (including me) are going to read that code many times, I think it's worth the little effort.
On the opposite, I often have to work hard to make Prettier produce readable code. Like, "how do I need to write this code, so Prettier doesn't mess it up?", which is often difficult / frustrating.