about 3 years ago

Use Plain Attributes Instead of Get and Set Methods

Consider @property Instead of Refactoring Attributes

這兩個條款都在講 property

相關

Python 慣用語 - 14 用 property 取代 getters, setters

← Effective Python 心得筆記: Item 28 Effective Python 心得筆記: Item 31 →
 
comments powered by Disqus