Menu

#4 Remove getter functions

closed
nobody
None
5
2012-09-29
2012-07-23
ThiefMaster
No

They are horribly ugly and unpythonic.
Instead of e.g. whatever.source().xyz it should be whatever.source.xyz.
The easiest way to change this while keeping the read-only style of those properties is simply decorating all those getters with @property and then using them like normal variables.

Discussion

  • Jason R. Coombs

    Jason R. Coombs - 2012-09-29
    • status: open --> closed
    • milestone: --> Next_Release_(example)
     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.