🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.objective-c
Article #200

Re: method inheritance in NeXT ObjC classes

#200
From: Vince Demarco
Date: Sun, 11 Oct 1992 19:37
12 lines
822 bytes
The problem is in the push and pop, you do a [myStack addObject:etc]
it should shave

[self addObject: [[Integer new] set: input];
etc


Also in your code don't use the new methods anymore, use alloc and
init.

Hope this helps
Technical Details
Message-ID: <DEMARCO.92Oct11123711@fsd.cpsc.ucalgary.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!newshost!demarco
References: <7493@blue.cis.pitt.edu.UUCP>

Show Full Headers
Complete Article Headers
Newsgroups: comp.lang.objective-c
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!acs.ucalgary.ca!cpsc.ucalgary.ca!newshost!demarco
From: demarco@fsd.cpsc.ucalgary.ca (Vince Demarco)
Subject: Re: method inheritance in NeXT ObjC classes
In-Reply-To: jamison@vms.cis.pitt.edu's message of 11 Oct 92 17:02:40 GMT
Message-ID: <DEMARCO.92Oct11123711@fsd.cpsc.ucalgary.ca>
Sender: news@cpsc.ucalgary.ca (News Manager)
Organization: University of Calgary
References: <7493@blue.cis.pitt.edu.UUCP>
Date: Sun, 11 Oct 1992 19:37:11 GMT
Lines: 13