Settings

Theme

Ask HN: How do you enforce coding best practices?

5 points by jacobevelyn 6 years ago · 2 comments · 1 min read


Over the course of my career as a software engineer I'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.

But I'm wondering whether these solutions amount to a "local maximum." 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've used successfully? What do FAAMNG do?

mortivore 6 years ago

Code reviews during a pull request with a team that cares about quality.

smt88 6 years ago

Stricter languages has been crucial for me. Static analysis and linting have limitations that compilers don't.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection