4 ms·
In a weekend? lots of hacks, no tests...
by fmsf 13y ago
In a weekend? lots of hacks, no tests...
- thenerdfiles 13y ago<a href="news">Hacker News</a> "Let me be clear – this does not mean you should ship code without tests. Thorough tests. Carefully written tests. I’m saying that you shouldn’t write tests first, because it limits your creativity and ultimately slows you down. Stop fixing tests when your implementation breaks them, and start writing awesome code without the fear of red." — "Mother Nature doesn’t use TDD, and she’s done pretty damn well.", http://compphi.com/2012/05/06/mother-nature-doesnt-use-tdd-and-shes-done-pretty-damn-well/ http://compphi.com/2012/05/06/mother-nature-doesnt-use-tdd-a...
- adamnemecek 13y agoThat was quite possibly the worst analogy I've ever seen.
- thenerdfiles 13y agoGut reactions come from the gut.
- adamnemecek 13y agoI'm not sure what you mean. The analogy just does not make sense. Mother nature's way of solving problems is by throwing random solutions and millions of years at them (you know the whole 'evolution' thing) and the solutions that come out of this process are not exactly optimal. If you have millions of years to finish your project, please go ahead and don't write tests. I think that I will though. I also think that you are really misunderstanding the TDD methodology if you think that writing tests somehow constrains your creativity.
- lawn 13y agoLet me rephrase that for you: "Mother Nature doesn't use TDD, because she doesn't do software development."
- thenerdfiles 13y agoThat opinion is antiquated, oversimplification at best[0]; or it is a feature of one literalist's thought. We are increasingly modeling our systems on nature's patterns[1]. [0]: http://en.m.wikipedia.org/wiki/Constructal_law http://en.m.wikipedia.org/wiki/Constructal_law [1]: http://www.zmescience.com/research/computer-made-using-solider-crabs-18042012/ http://www.zmescience.com/research/computer-made-using-solid...