OOP Beyond the Basics: Using Properties for Encapsulation, Computation and Refactoring

Posted by Bob on Wed 31 May 2017 in Concepts • Tagged with oop, property, decorators, encapsulation, computation, dunder, refactoring, pytest, 2vs3, getter, setter • 4 min read

In this article I share my learning of the property decorator coding a simple Account class. I think it's an unmissable tool in your (Python) OOP toolkit.


Continue reading

Code Challenge 20 - Object Oriented Programming Fun - Review

Posted by PyBites on Mon 29 May 2017 in Challenges • Tagged with codechallenges, learning, OOP, object oriented, inheritance, dunder, games, adventure, warcraft, Twilio, karma, Rooms • 2 min read

It's review time again. Wow: challenge #20 already! We can't believe we have worked through so many already. We also keep receiving amazing PRs, awesome!


Continue reading

Code Challenge 20 - Object Oriented Programming Fun

Posted by PyBites on Mon 22 May 2017 in Challenges • Tagged with codechallenges, OOP, object oriented, inheritance, encapsulation, polymorphism, dunder, games, ABCs • 3 min read

Hi Pythonistas, a new week, a new 'bite' of Python coding! This week we will let you experiment with Object Oriented Programming, an important skill and fundamental building block of (everthing-is-an-object) Python. Enjoy!


Continue reading

Code Challenge 10 - Build a Hangman Game - Review

Posted by PyBites on Sat 18 March 2017 in Challenges • Tagged with codechallenges, code review, learning, game, hangman, forks, dunder • 2 min read

It's end of the week again so we review the code challenge of this week. It's never late to sign up, just fork our challenges repo and start coding.


Continue reading