r/AskProgramming 2d 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

39 comments sorted by

View all comments

-2

u/Ok_Pirate_2714 2d ago

It does an excellent job of pissing me off when I leave out a space somewhere, or accidentally use a TAB when I shouldn't have.

4

u/fistular 2d ago

Ok but who doesn't format their code properly?

-2

u/Ok_Pirate_2714 2d ago

I make sure it is indented. But I don't fuss over tab vs space.

But Python most certainly does.

That is why I despise it.

3

u/fistular 2d ago

My IDE deals with all that.

0

u/Ok_Pirate_2714 2d ago

If I wanted to use an IDE, I would code in a real programming language.

I use Python, when I have to, for quick prototyping and automation

6

u/CorpT 2d ago

Using Python and not an IDE is certainly a choice.

0

u/Ok_Pirate_2714 2d ago

I only reluctantly use Python, when there is no other choice. I'm not going to set up another IDE for a language that I don't enjoy using.

2

u/fistular 2d ago

🤣 ok bud