🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.misc
Article #3536

Re: Dynamic typing (part 31,497)

#3536
From: Darren New
Date: Tue, 16 Apr 1991 18:45
14 lines
1114 bytes
In article <3857@ssc-bee.ssc-vax.UUCP> dmg@ssc-vax.UUCP (David M Geary) writes:
>void  printXValue( someType  *p)
>{ printf("%d\n", p->x);}
>  The code will type check, and thus get by the compiler if x is a valid
>member of the type someType.  

Not even considering what happens if p->x is a long, or a double, or a 
pointer, or ....
		     -- Darren
-- 
--- Darren New --- Grad Student --- CIS --- Univ. of Delaware ---
----- Network Protocols, Graphics, Programming Languages, FDTs -----
     +=+=+ My time is very valuable, but unfortunately only to me +=+=+
+=+ Nails work better than screws, when both are driven with screwdrivers +=+
Technical Details
Message-ID: <50961@nigel.ee.udel.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!ee.udel.edu
References: <1957@optima.cs.arizona.edu> <3857@ssc-bee.ssc-vax.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!ee.udel.edu
From: new@ee.udel.edu (Darren New)
Newsgroups: comp.lang.misc
Subject: Re: Dynamic typing (part 31,497)
Message-ID: <50961@nigel.ee.udel.edu>
Date: 16 Apr 91 18:45:05 GMT
References: <1957@optima.cs.arizona.edu> <3857@ssc-bee.ssc-vax.UUCP>
Sender: usenet@ee.udel.edu
Organization: University of Delaware
Lines: 14
Nntp-Posting-Host: estelle.ee.udel.edu