Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #64045 > unrolled thread

Re: data validation when creating an object

Started byTerry Reedy <tjreedy@udel.edu>
First post2014-01-15 22:46 -0500
Last post2014-01-15 22:46 -0500
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: data validation when creating an object Terry Reedy <tjreedy@udel.edu> - 2014-01-15 22:46 -0500

#64045 — Re: data validation when creating an object

FromTerry Reedy <tjreedy@udel.edu>
Date2014-01-15 22:46 -0500
SubjectRe: data validation when creating an object
Message-ID<mailman.5565.1389844030.18130.python-list@python.org>
On 1/15/2014 8:09 PM, Rita wrote:

> I know its frowned upon to do work in the __init__() method and only
> declarations should be there.

Dear Python beginners:

Don't believe the Python rules people write unless it is by one of the 
core developers or one of the other experts posting here. Even then, be 
skeptical. Even these people disagree on some guidelines.

PS. The basic guideline is that your program should work correctly, and 
some people have disputed even that ;-)

-- 
Terry Jan Reedy

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web