home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / object / 3064 < prev    next >
Encoding:
Text File  |  1992-07-29  |  1.9 KB  |  44 lines

  1. Newsgroups: comp.object
  2. Path: sparky!uunet!mcsun!news.funet.fi!funic!nokia.fi!tele.nokia!girod
  3. From: girod@tele.nokia.fi (Marc Girod)
  4. Subject: Re: Can functions be objects?
  5. In-Reply-To: knight@mrco.carleton.ca's message of Mon, 27 Jul 1992 13:41:06 GMT
  6. Message-ID: <GIROD.92Jul30103716@node_262d6.tele.nokia.fi>
  7. Sender: usenet@noknic.nokia.fi (USENET at noknic)
  8. Nntp-Posting-Host: rat.ts.tele.nokia.fi
  9. Reply-To: girod@tele.nokia.fi
  10. Organization: kpd
  11. References: <2840@media03.UUCP> <knight.712244466@cunews>
  12. Date: Thu, 30 Jul 1992 08:37:16 GMT
  13. Lines: 29
  14.  
  15. I may be coming in the middle of a discussion, not having read its
  16. beginning, but...
  17.  
  18. I don't quite see the problem with functions being objects.
  19.  
  20. I would first remind some wisdom by Rumbaugh & al about modelling:
  21.  
  22. "... you must not search for absolute truth, but for adequacy for some
  23. purpose. There is no single "correct" model of a situation, only
  24. adequate and inadequate ones."
  25.  
  26. Well, when is it adequate to consider function objects?
  27.  
  28. I think that as soon as you do not want any more to model a function
  29. as a durationless operation, you are entitled to consider making it an
  30. object.
  31.  
  32. To try to go more general, as soon as you want to handle parameters
  33. that do not relate with the function's abstract purpose, such as its
  34. host process/thread, in a multi process environment, or the processor
  35. it is running on, to allow it to be handled remotely in a multi
  36. processor environment, or its priority, etc...
  37. --
  38. +-----------------------------------------------------------------------------+
  39. | Marc Girod - Nokia Telecommunications         Phone:    +358-0-511 7703     |
  40. | TL4E - P.O. Box 12                            Fax:      +358-0-511 7432     |
  41. | SF-02611 Espoo 61 - Finland                   Internet: girod@tele.nokia.fi |
  42. |    X.400: C=FI, A=Elisa, P=Nokia Telecom, UNIT=TRS, SUR=Girod, GIV=Marc     |
  43. +-----------------------------------------------------------------------------+
  44.