home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sw / componen / 164 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.9 KB  |  39 lines

  1. Newsgroups: comp.sw.components
  2. Path: sparky!uunet!spool.mu.edu!yale.edu!ira.uka.de!math.fu-berlin.de!informatik.tu-muenchen.de!LRZnews!news
  3. From: mehlich@informatik.uni-muenchen.de (Michael Mehlich)
  4. Subject: Re: Reuse Discussion Topics (Was: Reuse and Software Components)
  5. Message-ID: <1992Nov9.082650.1322@news.lrz-muenchen.de>
  6. Sender: news@news.lrz-muenchen.de (Mr. News)
  7. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  8. References: <BxAq2J.4Kv@cs.uiuc.edu>
  9. Date: Mon, 9 Nov 1992 08:26:50 GMT
  10. Lines: 27
  11.  
  12. In article <BxAq2J.4Kv@cs.uiuc.edu> johnson@cs.uiuc.edu (Ralph Johnson)  
  13. writes:
  14. > [...]
  15. > There are at least two levels of meaning to an interface like "American
  16. > house current".  One is the meaning known to an EE.  The other is the
  17. > meaning known to my mother.  My mother doesn't know anything about volts
  18. > or frequency.   She just knows that she can connect a plug into a
  19. > compatible socket.  EVERYBODY in the country knows what "you have to  
  20. plug
  21. > an applicance in before it will work", that was my point.  You don't
  22. > have to know ANYTHING about the details of the interface to use it.
  23. Your mother do not know that she will get electricity when connecting a  
  24. plug into a compatible socket? I cannot believe that. I am sure she uses  
  25. this important property when combing plugs and sockets.
  26. > What this means in a software system is that we shouldn't have to know
  27. > anything about the details of an interface except its name.  We should
  28. > only have to know that we need a FOO, not what operations are legal on
  29. > a FOO.
  30. You relly need more details of an interfact than only its name. The  
  31. properties of an interface are the most important issue whereas the  
  32. concrete names do not play any formal role. It is not important if i call  
  33. a function called OpenWindow or a function called CupOfTea. It is only  
  34. important what happens when calling the function!
  35. > Ralph Johnson -- University of Illinois at Urbana-Champaign
  36.