object wrappers are object-oriented code that includes other code inside for example. you can take structured code (such as loops and conditions) and wrap it inside an object to make it look like an object. You can also use object wrappers to wrap functionality such as security features, nonportable hardware features, and so on.
sound class design guidelines
keep in mind that it is possible to create poorly designed oo classes that do not restrict access to class attributes. The bottom line is that you can design bad code just as efficiently with oo design as with any other programming methodology.
in general, objects should not manipulate the internal data of other objects.
No comments:
Post a Comment