Skip to content

The Insufferable Arrogance of Linters

3 pointsGoladus6 comments
On HN

Your preferred coding style is not a "best practice" simply because you've written a parser to automatically detect deviations or because your others on your team agree to follow one convention for the sake of consistency.

Comments

your others

And yes I understand the value of linters :p

consistency?

IMO, this is biggest reason to use linters. I don’t really mind what the “standard” is, as long as everyone is using the same one.

Yes, consistently formatted code tends to be easier to read and tends to help teams be (slightly) more efficient.

It's helping me a lot searching for, say, "thing" versus 'thing' or url vs URL.

I don't mind whether the coding style is ¿question? or simply question?, but I don't want to see both in the same file.

I think that seals it, no?

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.