home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / lang / cplus / 18370 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.6 KB  |  42 lines

  1. Newsgroups: comp.lang.c++
  2. Path: sparky!uunet!microsoft!wingnut!pauljo
  3. From: pauljo@microsoft.com (Paul Johns)
  4. Subject: Re: Complexity in the eyes...V2.0
  5. Message-ID: <1992Dec23.203556.29997@microsoft.com>
  6. Date: 23 Dec 92 20:35:56 GMT
  7. Organization: Microsoft Corp.:  Redmond, Washington, USA
  8. References: <1992Dec17.042207.8150@tagsys.com> 
  9. Lines: 31
  10.  
  11. In article <1992Dec17.042207.8150@tagsys.com> andrew@tagsys.com wrote:
  12. > Almost a month ago, I tried to start a new thread on the topic
  13. > of "complexity".  I assume that everyone agrees that a goal of
  14. > software engineering should be the reduction of complexity.  But
  15. > what I have recently seen is that the metrics by which complexity
  16. > is measured appear to be very subjective.
  17.  
  18. An important question to ask is "Complexity as viewed by whom?"
  19.  
  20. Solutions which are simple and elegant to our users (both end users
  21. and users of our class libraries) are often a pain to implement.
  22. And sometimes expensive, too.
  23.  
  24. But if a lot of people are going to use your product, the time
  25. spent making it easy for them to use gets repaid MANY times over
  26. when it's easier to use.
  27.  
  28. There's also a power vs. simplicity issue.  What's the good tradeoff?
  29.  
  30. In your case, I think that the additional power provided by your
  31. technique is well worth the additional memory and time requirements,
  32. as well as the development time.
  33.  
  34. I guess I'm arguing that "It's too complex!" is NOT a valid reason for
  35. choosing one implementation over another, while "It's a memory hog!",
  36. "It's a CPU hog!", "It'd take too long to implement!", and "No one
  37. would be able to use it reliably!" might well be valid reasons for 
  38. choosing a less-powerful alternative.
  39.  
  40. // Paul Johns
  41.