by sklogic · 10y ago · 0 comments
No, they are necessary. There is no better way of doing things than macros.
We have invented plenty of better ways since Lisp. Much better ones.
I do not believe such a thing exist. Macros are the ultimate solution.
You cannot implement simple, modular, debuggable, composable DSLs with functions alone. And you cannot tackle complexity without DSLs.
> Yes, macros can be useful in certain cases
In most cases. Cannot think of anything beyond "Hello, world" that does not deserve a DSL implementation.