Summary: strong/weak typing and pointers
Piet van Oostrum
piet at cs.uu.nl
Thu Nov 4 14:54:41 CET 2004
>>>>> Steven Bethard <steven.bethard at gmail.com> (SB) wrote:
SB> (1) A language is "weakly-typed" if it allows code to take a block of
SB> memory that was originally defined as one type and reinterpret the bits
SB> of this block as another type.
SB> Definition 1 is the definition most commonly used in Programming
SB> Languages literature, and allows a language to be called "weakly-typed"
SB> based only on the language definition. However, for all intents and
SB> purposes, it is only applicable to statically typed languages; no one
SB> on the list could come up with a dyamically typed language that allowed
Not in the language, but through library modules like struct.
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP]
Private email: P.van.Oostrum at hccnet.nl
More information about the Python-list