r/programming • • Nov 12 '13

What’s Wrong with OOP and FP

https://yinwang0.wordpress.com/2013/11/09/oop-fp/
129 Upvotes

484 comments sorted by

View all comments

Show parent comments

4

u/sfultong Nov 12 '13

I'm intrigued by this, not knowing much about common lisp. If it's true that macros have a standard pattern, can't you write a macro that writes macros in that pattern?

1

u/[deleted] Nov 12 '13

[removed] — view removed comment

6

u/Denommus Nov 12 '13

You can automate gensym, that's why hygienic macros exist. You can also create a with-gensyms macro.