DEV Community

loading...

Discussion on: Why learn Python Programming language in 2021?

Collapse
codemouse92 profile image
Jason C. McDonald • Edited

As a Python developer, I definitely agree it's worth learning. That said, popularity is a terrible reason to choose any language or platform. Suitability is a far better motivator; as you've pointed out, Python is suitable to a number of tasks.

One you didn't mention was GUI design. Python has excellent, cross-platform support of Qt5, GTK+, and many others. It's superb for application design, in my experience.

Of course, Python also isn't an end-all. The danger of cute little cartoons like the one you posted is that it doesn't accurately represent every case. For some tasks, Python is indeed that easy. For other tasks, it's like (as I've said before) "beating yourself to death with a wet trout". Every tool to its purpose.

P.S. I've heard that "Automate the Boring Stuff with Python" is good - I even have a copy, and plan to read it soon - but it's a bit young to be considered a "classic" just yet. ;-)

Collapse
javinpaul profile image
javinpaul Author

Thanks for your comment Jason, I agree sutiability is more important.

Collapse
rpoirier profile image
Reese Poirier

Agreed. I'm a big Python fan, but just because you can do something in a language doesn't mean it's a good idea. I wouldn't build an enterprise web app in Python any more than I'd use javascript to automate my OS updates.

I'd also like to plug Adafruit's CircuitPython.

Collapse
javinpaul profile image
javinpaul Author

I agree on this point but in order to choose the right language for the job you need to know a couple of them and Python is suitable for many common task like scripting, web dev, data science etc.

Thread Thread
rpoirier profile image
Reese Poirier

Oh absolutely. No disagreements there. And I'd definitely still encourage new and experienced devs alike to learn Python. One of the most broadly useful languages to have in your toolbox.
And I think it's probably the best first language for anyone just getting into programming. Being able to dip your toes in nearly everything with one language is an invaluable learning tool.

Forem Open with the Forem app