Re:A Healthy Hatred of OOP, or the principles of my message-...
by jack9 on Tuesday April 12, 2016 @03:58PM
(#11483037)
> No, good OOP has class/object with both private state and associated functions combined to provide a public interface for clients to use.
I don't believe there's evidence of this. Inteface scoping (e.g. "private/protected/public") is a relatively recent invention to protect against programmers who "don't know what they are doing". Adequate documentation is a superior tactic since that's a cursory best practice.
I don't believe there's evidence of this. Inteface scoping (e.g. "private/protected/public") is a relatively recent invention to protect against programmers who "don't know what they are doing". Adequate documentation is a superior tactic since that's a cursory best practice.