Oscillope / pytubalux

The Deluxe Brass Band Lighting System
Other
4 stars 1 forks source link

Get rid of getter and setter methods #6

Closed Oscillope closed 6 years ago

Oscillope commented 6 years ago

They're not very "pythonic", apparently. It seems we should just access properties directly, or if we need to run code first, use the @property decorator.

See: https://stackoverflow.com/questions/2627002/whats-the-pythonic-way-to-use-getters-and-setters