🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.misc
Article #125

Re: Learning App Frameworks (was Re: THINK Class Library learning..)

#125
From: Kent Sandvik
Date: Thu, 31 Dec 1992 09:45
40 lines
2159 bytes
In article <6606.2b41845f@hayes.com>, bcoleman@hayes.com (Bill Coleman)
wrote:
> Sounds like you are suggesting people build frameworks in Eiffel, which
> has formal mechanisms for defining pre and post conditions for all routines.
 
> Too bad there isn't such an Eiffel implementation for the Mac.

It's not that hard to add pre- and post-conditions with methods using 
assertions. I have my own ASSERT macro package that is conditionally
compiled in during debug mode, and it certainly catches a lot of errors
I would not be aware of otherwise. It's a matter of strict programming
to add in an additional line after each error producing statement. And 
yes indeed a language such as Eiffel helps, but it does not imply that
you can't do the same thing using for instance macros in C/C++.

Cheers,
Kent
-------------------
Kent Sandvik (UUCP: ....!apple!ksand; INTERNET: ksand@apple.com)
DISCLAIMER: Private activities on the Net.		
"Don't just do something!  Stand there!"  -- Mystery Science Theater 3000


------ Internet Message Header Follows ------
Path:
wupost!csus.edu!netcom.com!netcomsv!apple!goofy!mumbo.apple.com!gallant.apple.com!wintermute.apple.com!user
From: ksand@apple.com (Kent Sandvik )
Newsgroups: comp.sys.mac.oop.misc
Subject: Re: Learning App Frameworks (was Re: THINK Class Library learning..)
Message-ID: <ksand-301292103135@wintermute.apple.com>
Date: 30 Dec 92 18:35:35 GMT
References: <1992Dec1.220344.234@physc1.byu.edu>
<1992Dec3.064131.23364@reed.edu>
<Dec.3.13.57.31.1992.18090@gandalf.rutgers.edu>
<1992Dec4.081456.13906@reed.edu> <1992Dec29.213057.14290@news.mentorg.com>
<6606.2b41845f@hayes.com>
Sender: news@gallant.apple.com
Followup-To: comp.sys.mac.oop.misc
Organization: (Evil Eye Creature from Mars, Inc.)
Lines: 21
Technical Details
Message-ID: <1992Dec31.044556.2808621956@ultramac.uucp>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!ultramac!raph

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!ultramac!raph
Message-ID: <1992Dec31.044556.2808621956@ultramac.uucp>
Newsgroups: comp.sys.mac.oop.misc
Distribution: world
From: ksand@apple.com (Kent Sandvik)
Organization: Odyssey Ultraware, Inc
Date: Thu, 31 Dec 1992 04:45:56 CDT
Subject: Re: Learning App Frameworks (was Re: THINK Class Library learning..)
Lines: 42