Skip to content

Instantly share code, notes, and snippets.

@jeremyjs
Created June 27, 2014 22:22
Show Gist options
  • Select an option

  • Save jeremyjs/8a9de5ab2daf3c7aa958 to your computer and use it in GitHub Desktop.

Select an option

Save jeremyjs/8a9de5ab2daf3c7aa958 to your computer and use it in GitHub Desktop.
# Developers are a tricksey bunch. Name some reasons why you shouldn't just trust the person who wrote the code.
# Name some mental pitfalls that you should watch out for when testing code.
# So then, why shouldn't we be satisfied with testing our own code?
When writing code, it is often hard to see the code from an unbiased perspective.
I can't know exactly what another person who is seeing this code for the first
time will think, or if they will be able to understand it. And I can't think of
everything that might go wrong either. I just spent time making it work a certian
way and have pidgeonholed myself into a certain way of thinking. It's much easier
to get some fresh eyes on the code than it is for me to try to make up for my own
biases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment