Why is Python the ideal language for beginners to learn?
Let's look at the main reasons:
• It's more accessible for a beginner, allowing you to focus on programming concepts and not language detail. Too many give up coding early on–Python makes this less likely
• It's very powerful–which means you can write any program you'll need and it scales well as you deal with more complex programs and larger data sets
• It's very broad–it has applications in very many fields and not just a narrow scope. It also has libraries for very many fields!
• As it's very popular, it has a large user-base which is very helpful, so you'll find a lot of resources (not just mine!) and a lot of help from the community
• It's a language that's still improving and progressing rapidly. Latest speed improvements is just one example
The main thing you're learning is programming, and not a programming language. The language itself is "just" a tool, but you don't want the tool to get in the way of learning, as would happen with some other languages.
Once you become proficient in programming in one language, it's easier to switch to/learn other languages
So my advice is, yes, start with Python and stick with it until you feel you're very proficient. If and when you need other languages, they'll be easier to learn then…
@s_gruppetta I strongly agree, and actively learning #python. But I'm reserved about it being an easily accessible language for beginners. From personal experience, #julialang and especially Matlab seems to be much easier. But not sure if Matlab can be called as a real programming language; heard someone calling it advanced calculator 😀
@MahmutRuzi The reality is that MATLAB is mostly still around because many academics (mostly) have decades of scripts they rely on and get their students to learn MATLAB and create more scripts the lab relies on…
Python can do whatever MATLAB can do, often better and faster and much less expensive, plus Python can do a lot more (think outside the scientific fields, especially)
Plus you get a lot more support from the community in Python. So I would expect the trend away from MATLAB towards Python to carry on in the academic community, too, despite resistance from those who don’t want to switch because of the library of scripts they have!
I can’t see any benefit of MATLAB over Python, personally!
@MahmutRuzi Same with me. I joined a research group for my PhD which used MATLAB, so I learnt to code using MATLAB
When I set up my own research group years later, I had tons of MATLAB scripts so I got my students to learn and use MATLAB too…
When a colleague suggested using this up and coming language called Python (this was c.2005), I remember thinking, nah, can’t be bothered to re-write all this library in another language.
And after all, licenses weren’t a problem as grant funders paid for them!!
QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.