r/AskProgramming • • Aug 27 '26

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

42 comments sorted by

View all comments

Show parent comment

8

u/[deleted] Aug 27 '26

[removed] — view removed comment

1

u/Old_County5271 Aug 31 '26

Processing a csv is faster in awk than python, probably perl is also better. Pulling data from an API is probably better in python.

But I understand, yes, python is a great prototyping language. but there is an after prototyping phase.

1

u/Blazej_kb Aug 27 '26

I get it but I don’t mean 1 use script (for which python is perfect IMO) I mean full on apps

7

u/GlassCommission4916 Aug 27 '26

Then never. Python is awful for larger applications. Don't ask me how I know, I don't want to talk about it.

1

u/terletsky Aug 29 '26

Because you have no idea where Python is used.

1

u/Old_County5271 Aug 31 '26

I think we all know where python is used, and yes, its impressive, but also, its a pain to deal with any dynamic language and a big application this has always been true, python is no exception.

1

u/binocular_gems Aug 28 '26

Something that’s pretty common in the applied programming is starting with an idea, that idea develops into a prototype, you want feedback early so you launch the prototype as an MVP, and then that MVP matures into a production application at scale, and while you always meant to refactor the MVP, other priorities take over. Investors demand features, customers report bugs, and you lose the budget for a full scale refactor as things get more and more complex.

-1

u/YMK1234 Aug 28 '26

False dichotomy, as if python and c++ were the only options. And most other languages have very easy to use libraries for the tasks you describe, and let's not even talk about those where python sucks ass (funny you should mention APIs, the default JSON interpreter is a hot mess that only works through dicts instead of classes)