Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #78178

Re: Love to get some feedback on my first python app!!!

Date 2014-09-22 19:05 +0200
From Jean-Michel Pichavant <jeanmichel@sequans.com>
Subject Re: Love to get some feedback on my first python app!!!
Newsgroups comp.lang.python
Message-ID <mailman.14230.1411411973.18130.python-list@python.org> (permalink)

Show all headers | View raw


---- Original Message -----
> From: "Chris Angelico" <rosuav@gmail.com>
> Cc: python-list@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@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.
[snip]
> 
> ChrisA

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.

JM


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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Love to get some feedback on my first python app!!! Jean-Michel Pichavant <jeanmichel@sequans.com> - 2014-09-22 19:05 +0200

csiph-web