Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Current »

Writing code that works is only a small part of good programming. It is equally important that you write code that is easy for other programmers to read and understand.

Step-by-step guide

 

  1. Follow the PEP-008 style guidehttps://www.python.org/dev/peps/pep-0008/. It's not as complicated as it looks! 
  2. Use pylinthttp://www.pylint.org/. This great little package will give you detailed feedback about how to make your code beautiful and useful.
  3. Write informative comments. Don't just re-iterate what the code does: explain why you wrote the code the way that you did.
  4. Ask for code reviews! If you're not ready to submit a pull request, but want some feedback on your code, start a code review through Crucible.

  • No labels