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: Eric Abrahamsen
Subject: Re: Slot accessing issues in EIEIO
Date: Wed, 06 May 2020 10:06:25 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Jonas Bernoulli <address@hidden> writes:

> 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

I would love to see this implemented, so I hope our collective
insecurities do not hinder us :)

I would use this, and have considered writing something similar, and am
very, very glad I won't have to.



reply via email to

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