Programming for fun and profit

A blog about software engineering, programming languages and technical tinkering


Thu 05 April 2018

Properties as Pythonic getters

Posted by Simon Larsén in Programming   

If you come from either Java or C++, you've probably written your fair share of getter and setter (also called accessor and mutator) methods. It is common for programmers that transition from such a language to Python to carry over this practice. In many cases in Python, we simply forego …

Read more...