🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Statically typed, mutually referenced objects?

#273
From: Youki Kadobayashi
Date: Thu, 11 Apr 1991 17:43
27 lines
1383 bytes
Hi netters,

I've written some applications on NeXT, using Objective-C. It works
fine and I like Objective-C so far. I have two questions which I
couldn't find their answer on NeXT's documentation.

First question:
How can I declare statically-typed, mutually-referenced objects?
Are there any mechanism analogous to C++'s "extern class A"?

Second question:
Does static declaration of objects improve the speed of method
selection? If not, messaging like
	[foo display]
should be equivalent to
	[foo perform: @selector(display)]
since ObjC performs dynamic method selection in both cases; am I right?

If these are sort of FAQ, could someone point out where this newsgroup
is archived and how can I get it.

Thanks in advance,

--
Youki Kadobayashi
Dept. of Info. and Comp. Sci, Osaka University, Japan
Technical Details
Message-ID: <YOUKI.91Apr12024353@newmars.ics.osaka-u.ac.jp>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!sun-barr!ccut!wnoc-tyo-news!astemgw!icspub!newmars!youki

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sdd.hp.com!elroy.jpl.nasa.gov!decwrl!sun-barr!ccut!wnoc-tyo-news!astemgw!icspub!newmars!youki
From: youki@newmars.ics.osaka-u.ac.jp (Youki Kadobayashi)
Newsgroups: comp.lang.objective-c
Subject: Statically typed, mutually referenced objects?
Message-ID: <YOUKI.91Apr12024353@newmars.ics.osaka-u.ac.jp>
Date: 11 Apr 91 17:43:53 GMT
Sender: news@icspub.ics.osaka-u.ac.jp
Distribution: comp
Organization: Dept. of Info. and Comp. Sci., Osaka Univ., Japan
Lines: 27