Anyone who’s worked with Python knows that modules can be a Godsend, saving you time, effort, and many lines of code. They even have namespacing built-in 💪 😍 To expand on this a bit: However, not all ways of using modules are equally beneficial. In this article, we will discuss why using import * can… Continue reading ⚠️Why you should avoid import * in Python 🐍
Articles on encapsulation
OOP Beyond the Basics: Using Properties for Encapsulation, Computation and Refactoring
By Bob Belderbos on 31 May 2017
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.
Code Challenge 20 – Object Oriented Programming Fun
By PyBites Team on 22 May 2017
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!
Everything is an Object, Python OOP primer
By Bob Belderbos on 24 January 2017
I created a notebook on OOP (object oriented programming) in Python.