Hacker News new | ask | show | jobs
by ok123456 575 days ago
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.