home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c++
- Path: sparky!uunet!wupost!darwin.sura.net!sgiblab!rtech!odinba!karl
- From: karl@BofA.com (Karl Nicholas)
- Subject: Re: Complexity in the eyes of the beholder?
- Message-ID: <1992Nov19.221923.12282@BofA.com>
- Organization: Bank of America, Capital Products, RMTG #5906
- References: <1992Nov18.024553.24081@tagsys.com>
- Date: Thu, 19 Nov 92 22:19:23 GMT
- Lines: 36
-
- In article <1992Nov18.024553.24081@tagsys.com> andrew@tagsys.com (Andrew Gideon) writes:
- >
- >On the other hand, I can grasp a simple class entirely:
- >interface and implementation. When I "move up" a level,
- >I can drop the implementation information, and need
- >retain only the interface information. The class becomes
- >a black box.
- >
- >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.
- >
- But why is he recursing into the subclasses? It would seem
- to me that he should be taking the classes that he deals
- with for what they are, and not worry about how they work.
-
- This may not be of much help either because I guess
- I do not understand his point either. Perhaps you could help
- him with a class "flowchart", outlining subclasses and
- the bullet point functionality of the class and a flowchart
- of hiearchy or inheritence.
-
- I think the tradeoff is speed of code verses modularity.
- many classes supports modularity, which from a systems
- standpoint is preferable, where larger classes supports
- speed of execution, which from a user standpoint is
- preferable. I try to incorporate as much modularity
- as possible until the speed for the user becomes a problem.
-
- --
- +---------------------------------------------------------------------------+
- | Karl Nicholas (415) 953-0409 | Beer is good food. Food is not beer. |
- | karl@BofA.COM uunet!odinba!karl | *** BofA is not me, I am not BofA *** |
- +---------------------------------------------------------------------------+
-