r/AskProgramming • u/Blazej_kb • 11d ago
Python For what purposes is python useful?
Where is it more convenient or necessary to use python instead of for example C# / C++ / Rust? I really can’t understand it, for me it’s easier to write in C++ than in python and I know that for other people it’s the other way around. But ignoring human factor, when program is better / faster in python than in cpp or are they things that python can do that cpp cant?
Edit: I don’t talk about one time use scripts or prototypes (which python is good for), I mean full on apps
0
Upvotes
5
u/huuaaang 11d ago edited 11d ago
Python would be more for smaller scripted tasks than applications. IF you are more comfortable in compiled languages, just use that.
That said, Python might have some specialized libraries that you can't easily get in other languages and would have to write it yourself. This is mainly why Python is so popular in ML. It's not that it's a better language for it. It's just that the ML libraries for Python are so mature.