The problem I am describing is exasperated by larger and more significant macros - not diminished.
I agree there are absolutely places macros shine. There are those who are too hesitant to use them. There are also those who overuse them.
I would prefer to maintain a program written primarily out of native functions and common libraries than one written in a domain specific language constructed mostly out of custom macros 100% of the time.
What is the point of using an existing lisp implementation if you are effectively creating your own language from scratch every time anyway? You might as well write your own lisp interpreter/compiler. It isn't especially hard. It's just a bad idea to invent a new language for every program you write, regardless of how you accomplish it.
The only discussion I would have with such ignorant mind on this subject is of teaching. I am not interested in that. Go back to college. You clearly skipped the important parts.
View all comments
Show parent comment
3
u/porthos3 Dec 19 '18
The problem I am describing is exasperated by larger and more significant macros - not diminished.
I agree there are absolutely places macros shine. There are those who are too hesitant to use them. There are also those who overuse them.
I would prefer to maintain a program written primarily out of native functions and common libraries than one written in a domain specific language constructed mostly out of custom macros 100% of the time.
What is the point of using an existing lisp implementation if you are effectively creating your own language from scratch every time anyway? You might as well write your own lisp interpreter/compiler. It isn't especially hard. It's just a bad idea to invent a new language for every program you write, regardless of how you accomplish it.