Make a computer point out the mistake instead. No one can argue with a computer.
- A linter / precompilation step should catch typos in code that make it not work.
- For spelling mistakes, use a linter that checks for common english words. Here's an example for golang: misspell .