TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: How does your dev team agree upon code standards for your repo?

7 pointsby waiganiabout 5 years ago
At my last gig, on a team of about 30 devs, we had long email threads debating code issues: following patterns correctly, introducing new patterns etc<p>The threads often fizzled out, didn&#x27;t reach agreement and those that did, did not translate into the dev team actually following the newly agreed (or newly reemphasised) patterns.<p>I&#x27;ve heard other teams have scheduled meetings to discuss general code hygiene (tech debt, inconsistent standards across the codebase etc), others simply discuss them as they hit them in PRs and slack. I&#x27;m wondering:<p>1. What processes, techniques and tools are teams using out there and 2. Is the lack of a structured process from identifying&#x2F;proposing a code standard&#x2F;rule through to discussing&#x2F;refining&#x2F;getting buy-in with the team and then ensuring it&#x27;s actually followed a commonly felt pain?

1 comment

necovekabout 5 years ago
Wherever we were successful in establishing good policies that were followed, we had a couple of highly invested individuals, and we did code reviews across the shared codebase (vs only restricted to one&#x27;s areas of ownership).<p>I think both points are important, but the latter is harder to achieve in practice: people lazy out by &quot;optimising for efficiency&quot; by not writing proper MRs, asking close colleagues for reviews, and thus missing out on broader shared knowledge, and coding standards (I much prefer &quot;style&quot;) deteoriate.