On Saturday, April 25, 2015 at 6:21:56 AM UTC+5:30, Terry Reedy wrote: > Functions that do real calculation should be written as functions that > take an input object (or objects) and produce an output object.
<example snipped> > Based on my experience reading newbie posts on python list and > Stackoverflow, learning to write real functions, without input and > print, and repeatable tests, is the most important thing many people are > not learning from programming books and classes. Hear Hear! Hail Terry!! I believe what newbies dont get is the separation of 'real calculation' and other clerical/logistical stuff -- https://mail.python.org/mailman/listinfo/python-list