What do you call a class not intended to be instantiated

James Mills prologic at shortcircuit.net.au
Mon Sep 22 01:19:19 CEST 2008


On Mon, Sep 22, 2008 at 9:05 AM, Steven D'Aprano
<steve at remove-this-cybersource.com.au> wrote:
> I'm not wedded to the idea, there are alternatives (perhaps the factory
> should instantiate the class and return that?) but I assume others have
> used this design and have a name for it.

The problem is, I don't see why you're using a class
to store state in the first place.

cheers
James

-- 
--
-- "Problems are solved by method"



More information about the Python-list mailing list