home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!usc!cs.utexas.edu!sun-barr!ames!purdue!yuma!sailors
- From: sailors@CS.ColoState.EDU (robert sailors)
- Subject: Re: Complexity in the eyes of the beholder?
- Sender: news@yuma.ACNS.ColoState.EDU (News Account)
- Message-ID: <Nov21.192101.7316@yuma.ACNS.ColoState.EDU>
- Date: Sat, 21 Nov 1992 19:21:01 GMT
- References: <1992Nov18.024553.24081@tagsys.com>
- Nntp-Posting-Host: beethoven.cs.colostate.edu
- Organization: Colorado State University, Computer Science Department
- Lines: 20
-
- In article <1992Nov18.024553.24081@tagsys.com> andrew@tagsys.com (Andrew Gideon) writes:
- >I have been having an extended discussion with a coworker.
- >This is someone whom I respect, and with whom I enjoy
- >working a great deal. But this discussion is disturbing
- >to me. He claims that I use too many layers of abstraction.
- >
- >Specifics: I am of the "small class" and "mixin" school.
- >To me, I achieve my goal (except when I violate my own
- >rules - which does happen more frequently than I like {8^).
- >But this coworker claims that the many levels are too
- >complex to follow. In trying to understand a class, he
- >is forced to recurse too frequently and too far.
- >
- If he needs to understand the implementation, then he has a point. If he
- only needs to understand the interface, then you have a point. Is co-worker
- responsible for checking your code, or just using it?
-
- If he needs to check that your implementations are correct, then you need to
- negotiate for an acceptable level of abstraction. If he doesn't need this,
- then tell him to stay out of your objects!
-