Tag: meta-programming

  • Lisp macros feel like cheating

    Common Lisp macros feel like cheating. I’ve reached chapter 9 of Practical Common Lisp, where the goal is to build a unit test framework, and you can see right away how the patterns are easily abstracted out with macros. It’s so easy it feels like cheating. Getting a text representation of the test code to…