Any Perl victims care to explain this?

Sam Couter scouter at bigpond.net.au
Fri Apr 5 08:42:28 EST 2002


Jeremy <jepri at webone.com.au> wrote:
> Oh come on.  Everyone knows that C programmers love throwing around 
> pointers which are, as I recall, completely untyped.  I don't think 
> that there is even a way to tell what a pointer is pointing to.

If you've typed things correctly, the compiler will check for you. That
doesn't stop you from casting to and from void*, which defeats this type
checking.

C has no way of checking at run-time what type anything is, including
pointers or values those pointers reference. All type checking is done
at compile time.

> * you think you're a lot smarter than you are

Tee hee...
-- 
Sam "Eddie" Couter  |  mailto:scouter at bigpond.net.au
Debian Developer    |  mailto:eddie at debian.org
                    |  jabber:sam at jabber.topic.com.au
OpenPGP fingerprint:  A46B 9BB5 3148 7BEA 1F05  5BD5 8530 03AE DE89 C75C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
Url : http://lists.samba.org/archive/linux/attachments/20020405/a00c2123/attachment.bin


More information about the linux mailing list