4 ms·
Arbitrary compile time evaluations in the form of macros have been around in Lisp since 1963 [1]. I'm sure that pretty much every Lisp programmer thinks macros
by pg314 10y ago
Arbitrary compile time evaluations in the form of macros have been around in Lisp since 1963 [1]. I'm sure that pretty much every Lisp programmer thinks macros are a great idea. If you want to learn more about them, I recommend Practical Common Lisp (a great intro) [2] or On Lisp (requires prior Common Lisp knowledge) [3].
[1] ftp://publications.ai.mit.edu/ai-publications/pdf/AIM-057.pdf
[2] http://www.gigamonkeys.com/book/ http://www.gigamonkeys.com/book/
[3] http://www.paulgraham.com/onlisptext.html http://www.paulgraham.com/onlisptext.html
- mapcars 10y agoIt's so strange to see people discussing cool new ideas, which are half-century old. Seems like we need history lessons for programmers specifically.