Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Start a free Courses trial
to watch this video
Object-oriented programming opens up a ton of new ways and ideas for us to use when creating software. That means it's time for us to start thinking about the design of our code.
- Keep your code as simple as possible
- Don't repeat yourself (DRY)
- Your code should have only the bells and whistles that it needs (YAGNI)
- Write Python like Python, not like any other language
This is a great time to familiar yourself with PEP 8 and PEP 20, two documents that most Python developers use to guide what their code looks like and how they think about code while creating it.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up