[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a eieio-like interface we could use for functions (was: Re: we need *mod
From: |
Emanuel Berg |
Subject: |
a eieio-like interface we could use for functions (was: Re: we need *modularity* [last problem] (was: Re: as for Calc and the math library)) |
Date: |
Fri, 16 Aug 2024 19:39:21 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Skip 4 paragraphs of meta-discussion:
(re-search-forward "Anyway,")
arthur miller wrote:
> while interesting is probably unwelcome, and yet, Eli
> accused me of delibarately wasting maintainers time and
> energy.
Yeah, too much bad blood this time.
Maintainers should be busy with Emacs - and they are, I'm
sure. But some spend too much time visiting and commenting
almost _every one_ of my threads, crazy. There is no need,
I know what you are saying by now.
Some maintainers are also web cops on several of our lists.
If I were them, I would focus (even) more on Emacs and less on
policing these lists, and saying negative things about people
who have been regulars for decades.
Anyway, back to Emacs then, you remembered I said the
interface programming, that that was a crazy time consumer for
no reason. I found an interface in eieio - this is actually
what I suggested exactly (they did it long before) - maybe
some additional things are needed, but in principle - only it
is much more Lispy.
Fast and uniform, includes type and default and, if you know
eieio better than I, I'm sure you know a lot more of
those fields.
Again this is better since an un-lispy syntax would scare
people away and create controversy. Maybe I can get back to
that issue/idea as well, then!
(defclass box ()
((buf :initarg :buf
:type string
:initform "*bad*")
(xc :initarg :xc
:type number
:initform 12)
(yc :initarg :yc
:type number
:initform 8)))
https://dataswamp.org/~incal/emacs-init/bad.el
--
underground experts united
https://dataswamp.org/~incal