Jump to content

Which type of language is Python?


indiaastro

Recommended Posts

Python is a dynamically typed language. This means that it does type checking (the process of verifying and enforcing the constraints of types) at run-time as opposed to compile-time.

This means that the type is associated with run-time values, and not named variables or fields. The advantage of this is that you don’t have to specify types as you write your scripts. However, this encourages some pretty ugly bugs ,for instance,due to the interpreter misinterpreting the type of a variable, which might be hard to find (if say the script is long)

Statically typed languages do type checking at compile-time rather than at run-time. This means the type is associated with compile-time values. Such languages allow for all kinds of checking to be done by the compiler, and therefore a lot of trivial bugs are caught at a very early stage.

Link to comment
Share on other sites

Hi Friends,

Python is an interpreted, object-oriented, high-level programming language with dynamic semantics. Its high-level built in data structures, combined with dynamic typing and dynamic binding, make it very attractive for Rapid Application Development. Python's simple, easy to learn syntax emphasizes readability and therefore reduces the cost of program maintenance. Python supports modules and packages, which encourages program modularity and code reuse.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...