I think that tests are a way for programmers to replicate some of these moves. Have the expected outcome the goal, and ensuring that the internals will always work as expected.
By taking each component separately, by developing and iterating each little bit at the time, like a chess move, a good program can be made.
Perhaps those genius programmers who don't need to write tests do this process automatically.
Comments
I think that tests are a way for programmers to replicate some of these moves. Have the expected outcome the goal, and ensuring that the internals will always work as expected.
By taking each component separately, by developing and iterating each little bit at the time, like a chess move, a good program can be made.
Perhaps those genius programmers who don't need to write tests do this process automatically.