home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!news.uiowa.edu!ns-mx!herky.cs.uiowa.edu
- From: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
- Newsgroups: comp.lang.eiffel
- Subject: Small methods ! Why ?
- Message-ID: <13303@ns-mx.uiowa.edu>
- Date: 28 Jul 92 08:02:08 GMT
- Sender: news@ns-mx.uiowa.edu
- Lines: 24
-
- Hi,
-
- I came across the following sentence in a paper:
-
- "Good object oriented programming style seems to encourage the
- use of many small methods."
-
- Why is this so ?
-
- This programming style leads to code (and functionality)
- that is widely dispersed. Therefore, a maintainer may have to
- use sophisticated class browsers to understand the code even for
- a fairly simple task, simply because it is widely dispersed.
-
- This style seems to be quite prevalent among C++
- programmers.
-
- Is it so with programmers in other OO languages as well ?
-
- Send replies to me.
-
- Thanks.
-
- Chandra
-