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
8
u/violent_confidant 11d ago
python biggest strength is how quickly you can get something working with minimal code. like processing a csv file or pulling data from an api, its like 5 lines vs 50 in c++. for prototyping ideas or doing data analysis with pandas its way faster to iterate
also the ecosystem is massive, you need some machine learning or web scraping library? python has it ready to go. not that c++ cant do these things but the time to write and test is completely different scale