<<< struct vs. class | Index | C++ Encapsulation Notes >>> |
Encapsulation is a good thing:
Makes code more modular by supporting abstraction
Decreases time spent maintaining code
Increases likelyhood of reusability
Makes code easier to understand
<<< struct vs. class | Index | C++ Encapsulation Notes >>> |