one-time factory in python for an experienced java guy

Paul Rubin http
Tue Jul 14 16:40:52 CEST 2009

phonky <phonky at> writes:
> But where my stubborn java mind doesn't release me: what does the
> variable contain? Do I create the actual IncrementalGenerator object
> there? Or the super class?  Or just a string, which a factory method
> takes to create the actual object?

Ugh, just forget everything you ever knew about java.  Do some Zen
exercises to erase your mind.  Then read a Python tutorial as if
you're starting from nothing.

More information about the Python-list mailing list