catching exceptions
Gabriel Genellina
gagsl-py at yahoo.com.ar
Sat Dec 16 19:31:13 EST 2006
On 16 dic, 10:24, "jm.sur... at no.spam.gmail.com" <jm.sur... at gmail.com>
wrote:
> > Python isn't Java. Are you sure you need properties?
> I do not know Java. But, object.x = value looks much better than
> object.set_x(value) . Is there any harm in doing it, provided I have to
> do more than just storing the value.
You've provided the answer: properties are OK if you need to do "more"
that just store the value. Else, they're a waste of programmer and
processor time.
That was not clear on your original post.
--
Gabriel Genellina
More information about the Python-list
mailing list