Doc strings for a standalone app??

Calvin Spealman calvin at ironfroggy.com
Tue Jun 8 22:00:25 CEST 2004


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.
-- 
 





More information about the Python-list mailing list