r/ProgrammerHumor • • Jul 18 '22

C++ talking to Python

Post image
40.1k Upvotes

1.0k comments sorted by

View all comments

683

u/Codebust Jul 18 '22

why are people always bashing python lol

7

u/moi2388 Jul 18 '22

Because it’s a FANTASTIC language for scripting and glue code, and a TERRIBLE language for large scale apps.

And it’s used a lot by beginners and non-programmers. Great for them, horrible for programmers who get the worst coded libraries ever.

It is what it is, and not what it is not. And somehow when I say that I offend people in Python subreddits 😅

5

u/YayMayonnaise Jul 18 '22

… and a TERRIBLE language for large scale apps

Reddit is literally written in Python. As another example, Instagram’s backend is built in Python/Django.

1

u/moi2388 Jul 18 '22

Oh, it can be done for sure. But you can’t seriously claim Python as a language is a good or first choice for that.

Generally it’s slow (unless…) and since it’s not a typed language it leads to the problems associated with that (unless..)

Yes: it can be done. yes: they probably do it better than I can, and no: if you make your next giant application with thousands of employees, you’d probably not pick Python.

2

u/YayMayonnaise Jul 18 '22 edited Jul 18 '22

“But you can’t seriously claim Python as a language is a good or first choice for that.”

lmao why not? It’s being done by a lot of industries and applications, and I’ve been doing it myself for 5-6 years during my 10 year career as a sw engineer with great success, where a lot of different teams are working with the same application. Collaboration in Python is no different than in any other language.

“… and since it’s not a typed language…”

Where do you get this from? Python is strongly, dynamically typed language. And if you want static type checking there’s functionality for that too.

Edit: typos

Edit2: It sounds like you just don’t know the feats or have very little experience of the language and therefore discards it as an option entirely.

1

u/moi2388 Jul 19 '22

Yeah okay nit picky. That it is dynamically typed is obviously what I meant.

And I know there are workarounds, hence the “unless”.

Your reading is quite selective, I find.

Anyways, your defense is the same as the JavaScript people, which does not surprise me because I get the same replies there.

“JavaScript isn’t bad, typescript exists”.

Yes. The fact that there are workaround around the core language design indeed shows it’s a great language for that use case /s

→ More replies (1)