3 ms·
I introduced Prettier at work because I got rather sick of seeing poorly formatted code strewn about.. it is indeed wonderful. I don't want me or my coworkers t
by thatswrong0 9y ago
I introduced Prettier at work because I got rather sick of seeing poorly formatted code strewn about.. it is indeed wonderful. I don't want me or my coworkers to have the freedom to write weirdly formatted or bad looking code - reading and understanding other people's code is hard enough even if it's perfectly formatted.
More importantly, Prettier + ESLint fix on save makes coding quicker! I don't have to waste time getting things lined up any more.. I just write write write awful looking code and on save.. boom! it looks nice.
You're not writing a novel, you're not painting a picture.. you're writing code that _I'm_ going to have to read, understand, and modify at some point. Having a consistent style and enforced line lengths makes my job easier. Don't make my job harder just because you want some extra freedom to make your code look weird.
I have no idea what this author is going on about.