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: Stefan Monnier
Subject: Re: Slot accessing issues in EIEIO
Date: Wed, 06 May 2020 23:39:06 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> slot-missing just work, but I don't think it gets things done right.
>
> If we use slot-missing. We have to manage the column names manually instead of
> present them in slots. We should keep the proxy object doesn't have any
> slot to make slot-missing work, or your slot name may collide with SQL column
> name.

You're going too fast here: I have no idea what slots there are currently
in the object, why they're there, what kind of slots the `slot-missing`
thingy would catch, what is the relation between the "real" slots and
the others, ...

In the current solution, when there is a name collision between a "real"
slot and a non-real one, how is it resolved?

> Thus, we have to give up the direct way to describe the structure of
> SQL database.

What is this "direct way" you apparently currently use?

> when accessing a slot), I have to repeat the pattern I mentioned above.

I haven't yet understood what this pattern is.


        Stefan




reply via email to

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