emacs-devel
[Top][All Lists]
Advanced

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

Re: Slot accessing issues in EIEIO


From: Daniel Colascione
Subject: Re: Slot accessing issues in EIEIO
Date: Thu, 7 May 2020 12:32:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/6/20 9:43 AM, Jonas Bernoulli wrote:
Stefan Monnier <address@hidden> writes:

Recently, I'm reading the source of
closql(https://github.com/emacscollective/closql), A Emacs sqlite database ORM
package. It use eieio object, and put a piece of advice on eieio-oref to
intercept the reading slot action.

Yuck!  Can you explain why they need an advice on `eieio-oref`?

A right.  That's one of the reasons I never bothered to get eieio
changed to better accommodate my extension; I expected a negative
reaction like this.

Note the "Yuck" is about putting an advice on such a core function.
Not about the functionality that it provides (over which I don't have
an opinion yet since I don't know what it does).

IOW the "yuck" is saying "please request an extension so it can be
better accomodated" ;-)

Okay understood.  I guess I was feeling a bit insecure about having
written a ORMish thing in first place, and was a bit over sensitive
because of that.  ;D

FWIW, this ORM sounds pretty neat, especially since it works with all the EIEIO field sugar.



reply via email to

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