home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / oop / misc / 179 < prev    next >
Encoding:
Internet Message Format  |  1993-01-04  |  2.1 KB

  1. Path: sparky!uunet!wupost!ultramac!raph
  2. Message-ID: <1992Dec31.044556.2808621956@ultramac.uucp>
  3. Newsgroups: comp.sys.mac.oop.misc
  4. Distribution: world
  5. From: ksand@apple.com (Kent Sandvik)
  6. Organization: Odyssey Ultraware, Inc
  7. Date: Thu, 31 Dec 1992 04:45:56 CDT
  8. Subject: Re: Learning App Frameworks (was Re: THINK Class Library learning..)
  9. Lines: 42
  10.  
  11. In article <6606.2b41845f@hayes.com>, bcoleman@hayes.com (Bill Coleman)
  12. wrote:
  13. > Sounds like you are suggesting people build frameworks in Eiffel, which
  14. > has formal mechanisms for defining pre and post conditions for all routines.
  15.  
  16. > Too bad there isn't such an Eiffel implementation for the Mac.
  17.  
  18. It's not that hard to add pre- and post-conditions with methods using 
  19. assertions. I have my own ASSERT macro package that is conditionally
  20. compiled in during debug mode, and it certainly catches a lot of errors
  21. I would not be aware of otherwise. It's a matter of strict programming
  22. to add in an additional line after each error producing statement. And 
  23. yes indeed a language such as Eiffel helps, but it does not imply that
  24. you can't do the same thing using for instance macros in C/C++.
  25.  
  26. Cheers,
  27. Kent
  28. -------------------
  29. Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
  30. DISCLAIMER: Private activities on the Net.        
  31. "Don't just do something!  Stand there!"  -- Mystery Science Theater 3000
  32.  
  33.  
  34. ------ Internet Message Header Follows ------
  35. Path:
  36. wupost!csus.edu!netcom.com!netcomsv!apple!goofy!mumbo.apple.com!gallant.apple.com!wintermute.apple.com!user
  37. From: ksand@apple.com (Kent Sandvik )
  38. Newsgroups: comp.sys.mac.oop.misc
  39. Subject: Re: Learning App Frameworks (was Re: THINK Class Library learning..)
  40. Message-ID: <ksand-301292103135@wintermute.apple.com>
  41. Date: 30 Dec 92 18:35:35 GMT
  42. References: <1992Dec1.220344.234@physc1.byu.edu>
  43. <1992Dec3.064131.23364@reed.edu>
  44. <Dec.3.13.57.31.1992.18090@gandalf.rutgers.edu>
  45. <1992Dec4.081456.13906@reed.edu> <1992Dec29.213057.14290@news.mentorg.com>
  46. <6606.2b41845f@hayes.com>
  47. Sender: news@gallant.apple.com
  48. Followup-To: comp.sys.mac.oop.misc
  49. Organization: (Evil Eye Creature from Mars, Inc.)
  50. Lines: 21
  51.  
  52.  
  53.