DEV Community

Discussion on: 10 reasons why learning Python is still a great idea

Collapse
 
joeclarkphd profile image
Joseph Clark

As a former faculty member in information systems departments, I liked introducing Python for a couple of specific reasons:

(1) Clutter-free syntax means I can give students just a few lines of code and talk about what they do. If I was going to use Java for example I'd have to explain what "static void main(String[] args)..." means, or try to get students to take it on faith, before I could introduce the topic I wanted to talk about. In Python, I could almost directly jump into coding a simple algorithm, or querying a database, or something.

(2) Python is said to be the "2nd best language for everything". You could use R for data analysis, Ruby for web development, Perl for server scripting, C# for game development, C++ for tinkering with Arduino... or just use Python for everything. When trying to teach students I always thought it'd be a good idea if we faculty could all agree on it as a standard language. (This did not actually happen, oh well...)