[rec.humor.funny] A pretty good definition of "friends"...

tatlow@dash.dlb5.dec.com (Tom Tatlow) (01/19/91)

From an textbook on object-oriented programming discussing
encapsulation--the hiding of details of an implementation:


	(...) C++ offers even more flexible control over the visibility
	of member objects and member functions.  Specifically, members
	may be placed in the public, private, or protected parts of a
	class.  Members declared in the public parts are visible to
	all clients; members declared in the private parts are fully
	encapsulated; and members declared in the protected parts are
	visible only to the class itself and its subclasses.  C++ also
	supports the notion of *friends*: cooperative classes that are
	permitted to see each other's private parts.


				      -Grady Booch
				      "Object Oriented Design with Applications"


==================================================================
  	    Tom Tatlow	    "The Question"

    Digital Equipment Corporation, AI Technology Center
--
Edited by Brad Templeton.  MAIL your jokes (jokes ONLY) to funny@looking.ON.CA

If you mail to original@looking.on.ca, it makes sure that your joke is tagged
as your original work, and thus eligible for the RHF comedy awards.   Always
attribute the source of a joke, whether it's you, or somebody else.