This question already has an answer here:
- Why do we need private variables? 15 answers
Watchpoints and data break points make it possible to watch the changes of a value in memory in many languages.
Much of the justification I have seen for getters and setters and private variables hinges on the getters and setters being clear places in which break points can be set.
If watchpoints and data breakpoints make the break points on getters and setters a moot point, should I be using private members in my code anymore if I trust the other programmers on my team?