2 ms·
I can't imagine going back to working on codebases in languages that don't come with strongly opinionated defaults. I'm very lucky to spend the majority of my
by bsnnkv 2y ago
I can't imagine going back to working on codebases in languages that don't come with strongly opinionated defaults.
I'm very lucky to spend the majority of my dayjob hours working on Rust code, so everyone just runs cargo fmt && cargo clippy, and this in enforced in CI. You can't even publish a PR until those basic bars have been met.
I can't imagine the absolute insanity of working on JS projects where there are more ways to do things than there are people on a team, and where getting those people with strongly held opinions about things that ultimately just don't matter to agree on style and convention is like pulling teeth.
- thiht 2y agoJS has excellent tooling for standardizing code style, Prettier for opinionated formatting and ESLint for everything else. If some teams decide to not use these tools, that’s their mistake.
- Aeolun 2y agoOr Biome for both. And in 1 second instead of 10 minutes. Sure, eslint has a few extra rules, but in my opinion it just doesn’t beat getting results at sub second speeds.