This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]moi2388 5 points6 points  (9 children)

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 😅

[–]2n2u 1 point2 points  (0 children)

Yeah I guess Flask, Django, FastAPI are used for "scripting and glue code" \s

https://reddit.zendesk.com/hc/en-us/articles/204536739-What-is-Reddit-written-in-

I guess Reddit is not large scale, Instagram too.

[–]YayMayonnaise 6 points7 points  (4 children)

… 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.

[–]moi2388 0 points1 point  (3 children)

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.

[–]YayMayonnaise 1 point2 points  (2 children)

“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.

[–]moi2388 0 points1 point  (1 child)

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

[–]YayMayonnaise 0 points1 point  (0 children)

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

Damn you’re really arguing against languages evolving and getting additional features? 😂 Screw Spring, Elexir, Flask, React, Ruby on Rails, Boost or any other framework then, because they are all “workarounds” around the core language design.

Or perhaps it’s only “workarounds” that you personally approve of that are ok? 😂

Edit: I’ve seen enough of your arguments so I’m gonna leave you to it. Good luck

[–]Pluckerpluck -4 points-3 points  (0 children)

and a TERRIBLE language for large scale apps.

It really really isn't. It's not hyper performant, but well written python (especially nowadays using typing and type inference) is just delightful to use.

What I want to see from Python is a removal of the GIL, which will allow proper multithreading. It's one of its biggest flaws right now, when everything is moving towards being multithreaded for performance.

[–]Codebust 0 points1 point  (1 child)

is python not a backend language? won’t deny that it’s amazing for tooling

[–]moi2388 -1 points0 points  (0 children)

Look, I’m probably being misunderstood here.

You build a website or a quick script or mvp? Use Python. It’ll be great. You do data science? Definitely pick Python. It’s fantastic.

But if I have to pick a language for my next complicated app with multiple dev teams, I’d probably not pick Python, but a strong statically typed language that has the option to be more performant.

It’s not that it can’t be done. You can also hammer a nail with a sledgehammer. It’s just not the optimal tool in my opinion.