lemagedurage
an hour ago
Pre commit hooks shine with fast formatters. Keep the hook under half a second or so and it's great.
0123456789ABCDE
38 minutes ago
it's the tools. if they're slow people disable them or shift them right. you want your defect-detection and fixing to shift left
if you're not running auto-format on file-save, your auto-formatter is slow
if you're not running a code checker with auto-fix on pre-commit, your code checker is slow
if you're not running the test-suite on pre-push your tests are slow
if your tooling is slow you need to pick better tooling or make them fast
you want to keep that loop tight and active