Hacker News new | ask | show | jobs
by ninjakeyboard 3781 days ago
This is a very cool demo of use of macros.

On testing, I think DRY principles are a good thing in your production code but I don't believe there is anything wrong with having lots of repetition in your test code. Each test can be read from front to back by the reader. If you have to wander around trying to understand the design of the test then that may not be ideal. Shouldn't need unit testing for your unit tests :P