Skip to content

Comment on How to Think

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.