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

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

Re: Closures in Emacs and their usage scenarios.


From: Emanuel Berg
Subject: Re: Closures in Emacs and their usage scenarios.
Date: Tue, 28 Sep 2021 10:30:43 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Hongyi Zhao wrote:

>> smells like OO spirit ...
>
> What's the meaning of `OO spirit'?

OO = Object Oriented

The best definition of OOP that I've heard is the coupling of
data and the functions ("methods" in OO lingo) that act upon
that data. What I can see that's exactly what happens here
with closures ... (or at least the examples I provided are
like that)

OO was huge in the 90s when some programs were even rewritten
just so they would be "OO" as well. Today, not even the C++
guys stress the OO component of their language - instead they
think C++ is great for other reasons.

>From the Python people there were also a huge OO enthusiasm
(Python is from 1991, C++ is as old as from 1983) where even
the language itself was OO - maybe you can tell me/us, if the
OO enthusiasm has quieted down there as well ...

"Smells Like Teen Spirit" is a 1991 Nirvana song from the
album Nevermind.
<https://www.youtube.com/watch?v=hTWKbfoikeg>

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

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