TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: How do you enforce coding best practices?

5 点作者 jacobevelyn超过 5 年前
Over the course of my career as a software engineer I&#x27;ve become a bigger and bigger proponent of using automated tooling—linters, static security scanners, tools that check database migrations for safety, etc.—in our CI system to enforce best practices and reduce risk.<p>But I&#x27;m wondering whether these solutions amount to a &quot;local maximum.&quot; Is running a handful of checks in CI (and maybe in git commit hooks as well) the best we can do, or are their other approaches that you&#x27;ve used successfully? What do FAAMNG do?

2 条评论

mortivore超过 5 年前
Code reviews during a pull request with a team that cares about quality.
smt88超过 5 年前
Stricter languages has been crucial for me. Static analysis and linting have limitations that compilers don&#x27;t.