368
codeStyle (lemmy.world)
you are viewing a single comment's thread
view the rest of the comments
[-] shasta@lemm.ee 62 points 6 months ago

This is why I spend a good amount of time setting up linters on new repos before even starting to make the application. It saves a ton of time in peer reviews because no one has to think about formatting. Some people may not like the rules chosen but official direction from the boss is "get over it". There are 0 comments on PRs about formatting which only ever annoys people and is a waste of good dev time.

[-] waz@lemmy.world 18 points 6 months ago

On my current team, when we were trying to choose a style, my only input was "any style that can be checked/applied with a git commit hook."

I get some people prefer reading code in a particular format. Let them configure their editor to apply it, but let's keep the version history in one unavoidably consistent style. Pretty please.

this post was submitted on 01 Mar 2024
368 points (93.0% liked)

Programmer Humor

31990 readers
62 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS