Love to get some feedback on my first python app!!!
jeanmichel at sequans.com
Mon Sep 22 19:05:47 CEST 2014
---- Original Message -----
> From: "Chris Angelico" <rosuav at gmail.com>
> Cc: python-list at python.org
> Sent: Monday, 22 September, 2014 6:04:43 PM
> Subject: Re: Love to get some feedback on my first python app!!!
> On Tue, Sep 23, 2014 at 1:52 AM, Jean-Michel Pichavant
> <jeanmichel at sequans.com> wrote:
> > The code I posted had many bugs but one could not be fixed without
> > the comment. Or at least there's an obvious discrepancy between
> > the comment and the code that should catch the reader's attention.
> The obvious discrepancy, sadly, doesn't tell you which one is right.
You're right but that's fine and the comment's still doing its job.
Either the comment is wrong, or the code is. It doesn't really matter which one, It needs to be investigated and fixed.
Otherwise you could say that writing specifications is pointless since specifications can be wrong and when a problem occur you need to figure out if either the code or the specification is responsible.
Like a CRC check, sometimes the payload is correct and the error is on the CRC, it's still damn useful.
-- IMPORTANT NOTICE:
The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
More information about the Python-list