I'm curious about this:

> In general it is not recommended to keep DB objects in globals, as they cannot
> be garbage collected.
>
> ☺/ A!ex

In the `family.l` example it seems to store the "current person" object in the 
`val` of *DB.  Is this just for convenience for the sample? Or is this 
different since the global symbol isn't a reference to the object itself?

I assume the correct pattern for an action form is to use some global to hold a 
reference to some indexable ID for the DB object we are interested in?

-grant shoshin

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to