Python has gained a reputation as being easy to learn. The
syntax of the language is designed to be readable. There's plenty of argument
on the subject, but the facts speak for themselves. In an analysis of the top
39 computer science departments as ranked by U.S. News in 2014, the
general-purpose programming language has replaced Java as the budding computer
scientist’s first exposure to writing code. Eight of the top 10 CS departments
(80%), and 27 of the top 39 (69%), teach Python in their introductory courses.
And it’s the fourth most popular language according to an IEEE survey.
Python
is easy to use, powerful, and versatile, making it a great choice for beginners
and experts alike. Python’s focus on readability makes it an excellent choice,
especially when compared with languages like Java that have verbose and
conspicuous syntax. If you know Python, you can work with almost any Python
with little effort. Even libraries that add “magic” functionality can be
written in perfectly readable Python.
Its
ease of use for general tasks makes Python very suitable for education. In an
educational context because Python works on the computers used in schools.
Students can also use it on the computers they have at home, no matter the make
or model they may own. Furthermore, Python, as a service provided via a
website, is an excellent solution to the problem of the infamously troll-like
school system administrators who won’t let teachers install anything other than
Microsoft Office on school PCs. Users simply point their browser at a website,
and they are presented with a fully functional Python development environment
without having to install any additional software. For science this is also an advantage,
as scientist often need to load data, visualize it, and maybe control it via a
user interface. For commercial applications this means that many things work
out of the box, saving time and money.
For
the reasons above and many more that more experienced Python programmers can
explain better than I, Python makes a great first programming language,
especially if you don’t really consider yourself the mathematics and science type.
It’s really no surprise that American universities have come to the same
conclusion.