Differences between revisions 1 and 3 (spanning 2 versions)
Revision 1 as of 2008-08-12 01:09:48
Size: 481
Editor: 38
Comment:
Revision 3 as of 2008-08-12 05:19:56
Size: 637
Editor: 219
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
People often use the term strongly-typed language to refer to a language that is both statically typed (types are associated with a variable declaration) and strongly-typed (restrictive about how types can be intermingled). So, if you look at dynamic typing and strong-typing as orthogonal concepts, Python can be both dynamically and strongly typed. SEE:'''[wiki:Ten_things_people_want_to_know_about_Python Ten things people want to know about Python]'''for more details.
Line 3: Line 3:
See [http://en.wikipedia.org/wiki/Strongly-typed_programming_language Strongly Typed Programming Language] for more details.  Answer::
  * People often use the term strongly-typed language to refer to a language that is both statically typed (types are associated with a variable declaration -- or, more generally, the compiler can tell which type a variable refers to, for example through type inference, without executing the program) and strongly-typed (restrictive about how types can be intermingled). So, if you look at dynamic typing and strong-typing as orthogonal concepts, Python can be both dynamically and strongly typed.

SEE:[wiki:Ten_things_people_want_to_know_about_Python Ten things people want to know about Python]for more details.

Answer
  • People often use the term strongly-typed language to refer to a language that is both statically typed (types are associated with a variable declaration -- or, more generally, the compiler can tell which type a variable refers to, for example through type inference, without executing the program) and strongly-typed (restrictive about how types can be intermingled). So, if you look at dynamic typing and strong-typing as orthogonal concepts, Python can be both dynamically and strongly typed.

Why is Python a dynamic language and also a strongly typed language (last edited 2012-02-24 13:34:06 by 87-119-185-195)

Unable to edit the page? See the FrontPage for instructions.