Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.226 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.59; '*S*': 0.04; 'subject:missing': 0.07; 'test,': 0.07; '11:09': 0.16; '24,': 0.16; 'charts,': 0.16; 'tape': 0.16; 'subject: ?': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'looked': 0.18; 'header:User-Agent:1': 0.23; 'first,': 0.26; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'am,': 0.29; 'code': 0.31; 'comments': 0.31; 'subject:what': 0.31; 'worked': 0.33; 'comment': 0.34; 'maybe': 0.34; 'but': 0.35; 'next': 0.36; 'branch': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'flow': 0.39; 'to:addr:python.org': 0.39; 'dave': 0.60; 'charset:windows-1252': 0.65; 'reply': 0.66; 'mar': 0.68; 'nobody': 0.68; 'received:74.208': 0.68; 'physical': 0.72; 'repeat': 0.74; '2015': 0.84; 'charts': 0.84; 'commenting': 0.84; 'everything.': 0.84; 'angel': 0.91; 'discipline': 0.91; 'sheets': 0.91 Date: Mon, 23 Mar 2015 20:36:30 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: fibonacci series what Iam is missing ? References: <55105EF4.2070805@davea.name> <55109DEF.9070001@davea.name> <5510AB29.8060105@davea.name> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:eyZlDoZSfTNEtLUverltyV+nKuBqzZyfo1GGyIwtC1UWmVe8Z52 a2432PHiICss4hhvzbCGUc8n4NrMBGEQ7XpTRPMNJu2cm1V22EQoEbYJl2eHbkW+WambBJg l3ky6Of2F9DDSsDgWYyT+nUenOesgUAX980MqNbxGRNHuzrd29uR4g+X6E2dIIokumjPGzA CDGsXpxAKGgiAQXRWAV4w== X-UI-Out-Filterresults: notjunk:1; X-Mailman-Approved-At: Tue, 24 Mar 2015 06:58:15 +0100 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.19 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 20 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1427176696 news.xs4all.nl 2922 [2001:888:2000:d::a6]:60849 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:87867 On 03/23/2015 08:27 PM, Chris Angelico wrote: > On Tue, Mar 24, 2015 at 11:09 AM, Dave Angel wrote: >> Repeat to self: comment first, then write test, then write the code. >> >> Reply to self: Maybe next time. > > Commenting is like dieting. You can always start tomorrow. > It reminds me of flow charts. One job we had to do flow charts of everything. So we worked up a system where we used physical scissors and sticky tape to paste the comments from the code onto big sheets of paper, and a secretary made them pretty. Nobody ever looked at the flow charts, but it did help discipline us to comment every branch in the (micro-)code. -- DaveA