Breaking Information Hiding in C++

Almost every object-oriented programmer is familiar with the concept of information hiding. Actually, lots of them get confused with the terms encapsulation and information hiding. So, before we talk about¬†information hiding itself, let me explain the difference of both terms: Encapsulation is the public interface that defines how an object can be used, and how … Continue reading Breaking Information Hiding in C++