Hacker News new | ask | show | jobs
by brtkdotse 575 days ago
My experience is that 99% of the work related to geters and seters is handled by the IDE
1 comments

This encapsulation style for OOP is standard; the language should support it and not require additional design patterns or IDE tools.

An argument could be made for adding a sigil so the class user knows this isn't a dumb field, but then if someone wants to upgrade a dumb field to this, as Python encourages, they would need to modify every use.