Pattern, Abstract Factory / Factory

Manfred Bergmann manfred.bergmann at me.com
Sun Feb 7 08:34:46 UTC 2021



> Am 07.02.2021 um 09:23 schrieb Hans Hübner <hans.huebner at gmail.com>:
> 
> Am So., 7. Feb. 2021 um 09:20 Uhr schrieb Manfred Bergmann <manfred.bergmann at me.com>:
> But fundamentally, you also can’t create an instance of a class in Common Lisp from just the symbol. The class definition must be known.
> 
> This simply is untrue.  You can use FIND-CLASS to find a class named by a symbol and then instantiate it.

Well, OK. Sure. But when I do that I have again a dependency on the concrete class, or? And it would be similar as knowing the class right from the start.


More information about the pro mailing list