3 ms·
People will make mistakes. Policy does not prevent that. Tools do.
by kllrnohj 11y ago
People will make mistakes. Policy does not prevent that. Tools do.
- gravypod 11y agoNot in every case. I'd say that policy does help in some cases and tools do in others. What I often see is people just ignore the output from tooling and commit anyway. No method of prevention is perfect, but everything you do can help to increase stability in projects.
- marcosdumay 11y agoA policy of "never ignore this warning" has a much better chance of being followed and removing the bugs than a policy of "always put brace on code blocks". Yes, both are policy, but they are different kinds. Of course, banishing single line blocks at the compiler would be infallible, but it's also not viable.
- kbenson 11y agoTools won't prevent it without a policy to enforce. It's still ultimately up to us to determine the rules the tools follow.