Code review

John Gordon gordon at panix.com
Tue Nov 4 21:35:20 CET 2014


C Smith <illusiontechniques at gmail.com> writes:

> I was wondering if I could get some feedback on the biggest thing I
> have done as an amateur Python coder.

Comments.

You need a *lot* more comments.

Like, every line or two of code should have a comment explaining what is
being accomplished.  Seriously.  Every line or two.

Some blank lines wouldn't hurt either.

Also it would be nice to define some of the terms you're using.  What is
a blind?  What does "in front" mean?  What is a "muck hand"?

-- 
John Gordon         Imagine what it must be like for a real medical doctor to
gordon at panix.com    watch 'House', or a real serial killer to watch 'Dexter'.




More information about the Python-list mailing list