Hacker News new | ask | show | jobs
by elteto 2 days ago
The actual rules are less important, only the consistency of applying them is.

I find that people who argue against automatic linting and formatting tend to be the same that would argue incessantly about style. So much wasted energy, I want none of that.

Also, in your example above, if you put the comment on the line _above_ instead of inline the formatter will most likely do the right thing.

1 comments

"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines."

-- Ralph Waldo Emerson

TIL I am divine!

By the way, you have the exact energy of someone who would argue about code style: a prima donna who quotes Emerson when confronted with disagreement.

You can build yourself any strawman you want :)

In my first ten years of writing Python, I never argued about code style with anyone. It's only after they brought the bots in that I learned that my style is somehow "bad."

Well, it’s nice you bring up strawmen after you called me a hobgoblin (a delicious word btw). I hope this _divine_ irony is not lost on someone like yourself.

> I learned that my style is somehow "bad."

That’s what you are missing: your style is not bad at all. It’s just your style. Use it for yourself!

Teams work on shared ground. Automatic formatting is just part of that shared ground.

I’ve written it up-thread: you want me (and possibly, everybody) to be a cog wheel. But I want to be an artist.
That does work in private projects but not in team projects.
It’s fine to be Howard Roark on a commission or pet project by yourself or a small team, but not when working on a subdivision with many hands touching it
I don’t want you to be anything but a team player. Let’s work together and get it done.

Be an artist on your time, not mine.