Tag: OOP
No posts match your filter.
2006
The Public Fields debate again
Back in November last year I wrote about why you should make fields in a class private. Some people still make fields public. I did concede on one argument though...
2005
Why make fields in a class private, why not just make them public?
Encapsulation is sometimes also known as information hiding. The idea is that an object hides the details of how it works from the outside world. However, some definitions of encapsulation suggest...
