Skip to content.

plope

Personal tools
You are here: Home » Members » chrism's Home » What Not To Do When Writing Python Software » Contradicting yourself.
 
 

Comment

Above in this comment thread: What Not To Do When Writing Python Software

Contradicting yourself.

Posted by bogeymill at 2007-09-13 02:43 AM
> Use the Python warnings module to emit deprecation warnings that don't tell me how to change the code to do what I'm trying to do in what must of course be a newer, better way.

In a way, I believe you are contradicting yourself with that statement. You made a list of Don'ts without providing an alternative to what you purport to be bad practice. I would have given more credence to your list had you provided a "newer, better ways" of doing them. If you're not willing to write it yourself, at least provide URL's to existing documents.

Thanks.

done.

See http://www.plope.com/Members/chrism/not_todo_inverse

re: Contradicting yourself

In all fairness - the title of the entry explicitly states this as a list of 'not to dos' - and it is a pretty good list and always good to remind yourself of these principals. I usually judge this genre of post by the number of offenses I know I have committed myself at some point yet have chastised/ranted to others when they have done the same ;-)

If this isn't your 1st bbq - chances are you know what/how you are supposed to be doing things but it's always good to remind yourself lest you(I) get lazy ...