Another Sets Problem

Victor Subervi victorsubervi at gmail.com
Tue Dec 29 11:41:10 EST 2009


On Tue, Dec 29, 2009 at 12:15 PM, Carsten Haese <carsten.haese at gmail.com>wrote:

> Victor Subervi wrote:
> > Once again, it seems nobody is bothering to address this issue. Is it
> > beyond your reach as it is beyond mine? I feel compelled to restate the
> > problem once again as I did in my original post, and to once again post
> > the entire code. Hopefully someone will help me see my error.
>
> The reason why nobody is addressing your issue is that merely posting
> your code is not enough to find out what's going wrong. In order to
> diagnose the code, we need to know what inputs it's processing. You're
> not giving us any information about that. Alternatively, it would be
> helpful to see EXACTLY what output the code is producing. You're not
> giving us that either. You're merely giving us a vague description that
> the code doesn't print everything you're expecting.
>
> That leaves us with only your code, which is an impenetrable fortress of
> poorly named variables, import statements you think you need but don't,
> and lots of Python anti-idioms, all of which conspire to make it
> impossible for anybody who is not paid to do this work to put in the
> effort that's necessary to trace your logic and identify the bug.
>
> Please help us help you.
>

Gladly, Carsten, gladly. Thank you for pointing out the deficiencies. Since
it is difficult to send the inputs but easy to provide the outputs, and as
opposed to posting the printout, let me direct you here to see it
first-hand:
http://angrynates.com/cart/enterProducts2.py?store=products
With respect to my poor coding, I intend to use this project as an
opportunity to learn how to properly code. I'm almost done with getting this
shopping cart up and running. And while it looks bad to you, it has certain
genius that will enable me to use it for all my future clients, a difficult
task for a shopping cart since clients' needs are so different. So, please
help me get this working. Next, I need to catch up some other client work,
then I will return to this and start cleaning it up and hopefully learn how
to program better.
Thanks for your help.
beno
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091229/c043b577/attachment-0001.html>


More information about the Python-list mailing list