On 2014-12-11, Ben Finney <ben+pyt...@benfinney.id.au> wrote:
> Docfxit <docf...@gmail.com> writes:
>
>> Thank you all for the encouragement to make it smaller.

> Begin with an empty program, and start constructing the behaviour
> from scratch. Ignore anything else you want the program to do; focus
> only on *this* behaviour which is confusing you.
>
> Add only those parts which seem to be related; remove them to verify
> whether they're *actually* part of the problematic behaviour.
>
> Eventually you will have a small program which, if you take any part
> away, does not exhibit the behaviour you want explained.

And more often than not, you will figure out the answer to your
problem while attempting to construct a suitably concise example of
your problem.

If you can clearly explain and demonstrate your problem, you're 90% of
the way to fixing it.

-- 
Grant
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to