one-time factory in python for an experienced java guy

Paul Rubin http
Tue Jul 14 10:40:52 EDT 2009


phonky <phonky at europe.com> 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