home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / object / 4622 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  3.1 KB

  1. Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!spool.mu.edu!olivea!inews.Intel.COM!tcad05!bongalon
  2. From: bongalon@tcad05.intel.com (Ben Bongalon)
  3. Newsgroups: comp.object
  4. Subject: Re: Object hidden state and side effects
  5. Message-ID: <BzMqx4.Bn9@inews.Intel.COM>
  6. Date: 21 Dec 92 22:10:15 GMT
  7. References: <BzBC1L.3GJ@inews.Intel.COM> <1992Dec15.201242.8995@midway.uchicago.edu> <BzF6uA.1u3@inews.Intel.COM> <1992Dec17.221333.3023@midway.uchicago.edu>
  8. Sender: news@inews.Intel.COM (USENET News System)
  9. Reply-To: bongalon@tcad05.intel.com (Ben Bongalon)
  10. Organization: Intel Corporation, Santa Clara, CA USA
  11. Lines: 54
  12. Nntp-Posting-Host: tcad05
  13.  
  14.  
  15. In article <1992Dec17.221333.3023@midway.uchicago.edu>,
  16. dave@alex.uchicago.edu (Dave Griffith) writes:
  17. |> In article <BzF6uA.1u3@inews.Intel.COM> bongalon@tcad05.intel.com
  18. (Ben Bongalon) writes:
  19. |> >
  20. |> [A whole lot of really quite good stuff.]
  21. |> 
  22. |> Seems to me like we've gone around enough to realize that we're all finally
  23. |> talking about the same thing, just from different views.  Now that we've
  24. |> got our respective terminologies agreeing, I feel like it's time for a 
  25. |> blatant try at closing the discussion.
  26. |> 
  27. |> Values can be indirectly implemented as objects. The only benefit of this 
  28. |> (and yes, it's a large one) is that languages do not require two separate 
  29. |> semantic constructs for two somewhat related mental constructs.  The direct 
  30. |> costs of this is that in current languages this implementation is not quite 
  31. |> safe, and requires unenforced coding restrictions to ensure that
  32. values really 
  33. |> act as values.  This is a known bug source, and should be approached
  34. as one.  
  35. |> A possible indirect cost is that it places one further interpretation step
  36. |> between a programmer's design and her implementation. As decreasing the 
  37. |> design/implementation distance is one of object oriented programming main
  38. |> strengths, this should be considered accordingly.  Given these costs and
  39. |> benefits, I believe that a language could fruitfully be designed
  40. which supports
  41. |> values and objects as separate concepts.  The costs and benefits
  42. probably don't
  43. |> justify writing a new language to specifically test this hypothesis, and 
  44. |> certainly don't justify increasing the complexity of already overly complex
  45. |> languages (C++, Eiffel, and Ada in particular).  But if you just
  46. happen to find
  47. |> yourself designing a new language which uses some OO concepts and extends
  48. |> them with other semantic modelling capabilities (relations, in my
  49. case), then
  50. |> it's probably worth trying them out.  If it pays off, it's part of the 
  51. |> benefits of breaking new ground.  
  52. |> 
  53. |> The only thing I can find in the above which is even remotely objectionable
  54. |> in the above is describing Eiffel as overly complex, a statement I'm
  55. not even
  56. |> slightly interested in debating.   Other than that, I think that we've said
  57. |> all that needs to be said on the subject.
  58. |> 
  59. |> -- 
  60. |> Dave Griffith, Information Resources, University of Chicago,
  61. |> Department of Surgery                       dave@alex.bsd.uchicago.edu
  62. |> Oh, by the way, I almost forgot.  Godot called.  He said he'd be late.
  63.  
  64. Amen  :-)
  65.  
  66. Ben Bongalon
  67. Intel Corporation
  68.