Hacker News new | ask | show | jobs
by surye 4304 days ago
Getters and setters are not just there to work around the visibility system. Just making everything public doesn't change the fact that C++ lacks properties, and you cannot change a concrete value into a calculated value without changing the API.