Skip to content

Instantly share code, notes, and snippets.

@jccatrinck
Created October 28, 2019 17:55
Show Gist options
  • Save jccatrinck/7dcca0a77f9d34e929bcac3fa20421be to your computer and use it in GitHub Desktop.
Save jccatrinck/7dcca0a77f9d34e929bcac3fa20421be to your computer and use it in GitHub Desktop.
Bad code theory
Visible sign of algorithm disorder create an bad environment that encourages further bad code, including broken ones.
It is suggested that minor bad codes errors such as below:
- Bad indentation
- Wrong identifiers names
- Not suggestive commit messages
It needs to be supervisioned by policies to help to create an atmosphere of order and lawfulness, thereby preventing more bad codes.
Original: https://en.wikipedia.org/wiki/Broken_windows_theory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment