481
Comment:
|
637
|
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.