Why Learn the Python Programming Language? 9 Features of Python
Python is a programming language developed by Guido van Rossum. It is a dynamically typed language with very high level data structures. It is used in a number of places including Google and Nasa.
Features of Python.
1. Dynamically typed.
Variables do not have any type in the python programming language. You do not need to say
int x = 10
Instead you would write
x = 10
2. Very high level data structures.
List, dictionary and sets are build in data types which allow very high levels of abstraction in a language like python.
3. Support for functional programming.
Functions are firsts class objects which means they can be used like any other variable. This, with other functions like map, filter and reduce provides functional programming.
4. Multi paradigm programming.
Python has support for multiple paradigms like object oriented programming, functional programming or iterative programming.
5. Rapid prototyping.
High level data structures along with dynamic typing make rapid prototyping a breeze in Python
6. Batteries included.
Python believes in the philosophy of batteries included. This means that a large number of libraries are provided with python making programs written in python much shorter that in other languages.
7. Significant whitespaces.
Whitespaces are significant in the Python programming language. This makes code very easy to read in Python.
8. Limited number of keywords.
The number of keywords in the python language are very limited. This makes it an easy language to learn for beginners. The core of the language is kept very small and functionalities are provided by other modules.
Python tries to keep the namespace as keep as possible.