help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Metaprogramming


From: Emanuel Berg
Subject: Re: Metaprogramming
Date: Sun, 15 Sep 2019 21:03:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Stefan Monnier wrote:

>> This is a query from over half a decade ago:
>> https://stackoverflow.com/q/22224045
>
> That's not exactly about meta-programming [...]

"Metaprogramming is a programming technique in
 which computer programs have the ability to
 treat other programs as their data. It means
 that a program can be designed to read,
 generate, analyze or transform other programs,
 and even modify itself while running." [1]

One should probably have a good, or at least
explicit reason to do any of that, since
otherwise it'll just make things complicated
where they don't have to be. However if one
finds such a use case and pulls it off, that's
programming at the next level, no doubt.


[1] https://en.wikipedia.org/wiki/Metaprogramming

-- 
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]