[squeak-dev] FFI | Question about name and prefix: FFIExternalSharedPool

Marcel Taeumel marcel.taeumel at hpi.de
Tue May 26 14:06:25 UTC 2020


Hi, there.

I wonder whether "FFIExternalSharedPool" should be renamed to "ExternalPool".

Well, compared to ExternalObject, such external pools will not need a "handle" because they represent a cache of constants, which got - at some point - extracted from C sources/headers. So, the prefix "external" might be misleading. Not sure.

Well, compared with the base class SharedPool, The notion of "shared" might not be required here. Looking at all implementors of #hasBindingThatBeginsWith:, there are many kinds of objects that can be used as "poolDictionary" for classes. Well, except for classes themselves. Which is strange. :-) Yet, I think that's why SharedPool exists in the first place. A class that can be used as pool. Maybe it is just a limitation of Shout.

Any thoughts on this?

Best,
Marcel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200526/910a4674/attachment.html>


More information about the Squeak-dev mailing list