🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.mac.oop.misc
1 messages
1 total messages Started by Kent Sandvik Thu, 31 Dec 1992 09:45
Re: Learning App Frameworks (was Re: THINK Class Library learning..)
#125
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads