home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / lang / eiffel / 995 < prev    next >
Encoding:
Internet Message Format  |  1992-07-27  |  853 b 

  1. Path: sparky!uunet!news.uiowa.edu!ns-mx!herky.cs.uiowa.edu
  2. From: rajar@herky.cs.uiowa.edu (Chandrashekar Rajaraman)
  3. Newsgroups: comp.lang.eiffel
  4. Subject: Small methods ! Why ?
  5. Message-ID: <13303@ns-mx.uiowa.edu>
  6. Date: 28 Jul 92 08:02:08 GMT
  7. Sender: news@ns-mx.uiowa.edu
  8. Lines: 24
  9.  
  10. Hi,
  11.  
  12. I came across the following sentence in a paper:
  13.  
  14. "Good object oriented programming style seems to encourage the
  15. use of many small methods."
  16.  
  17. Why is this so ?
  18.  
  19. This programming style leads to code (and functionality)
  20. that is widely dispersed.  Therefore, a maintainer may have to
  21. use sophisticated class browsers to understand the code even for
  22. a fairly simple task, simply because it is widely dispersed.
  23.  
  24. This style seems to be quite prevalent among C++
  25. programmers.
  26.  
  27. Is it so with programmers in other OO languages as well ?
  28.  
  29. Send replies to me.
  30.  
  31. Thanks.
  32.  
  33. Chandra
  34.