Doc strings for a standalone app??

j_mckitrick j_mckitrick at bigfoot.com
Wed Jun 9 16:05:21 CEST 2004


Calvin Spealman <calvin at ironfroggy.com> wrote in message news:<mailman.734.1086739144.6949.python-list at python.org>...
> j_mckitrick wrote:
> 
> > Does it make sense to use doc strings rather than #-comments for a
> > standalone Python app?  If the classes aren't going to be re-used or
> > imported, do they need them?
> Sure. They are more clear as to the assignment of the comment to a
> particular class or function or method, for one thing. It can help when
> debugging and/or testing your modules, for another thing. And, you never
> know that you'll always release as a standalone, as you might change your
> mind or release some of your modules for third-party usage, for a third
> thing.
> --

How do they help during debugging/testing?



More information about the Python-list mailing list