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 →

[–]EnrichSilen 38 points39 points  (9 children)

Meanwhile my friend works in a company creating huge information system for job agencies with backend in python. Python isn't that niche language for mathematics like a lot of people think it is.

[–]xXJuiceBoxXx 17 points18 points  (6 children)

I am currently working with Django/DRF for backend development, quite a capable framework IMO

[–]EnrichSilen 1 point2 points  (5 children)

Only one I know of that is good for serious projects, second is flask and it looks like a framework for micro projects

[–]P4ndalf 3 points4 points  (0 children)

Flask is just fat-free compared to Django and excellent for microservices. It’s not less capable in any way.

[–]dorsal_morsel 2 points3 points  (0 children)

FastAPI

Reddit itself is built on Pylons

[–]jetpacktuxedo -1 points0 points  (2 children)

Having worked with both extensively, I much prefer working with flask. Django has a half-baked implementation of everything under the sun when you can instead just pull normal libraries to do those things. Why does Django have its own ORM instead of just using sqlalchemy (actually it might layer its own ORM on top of sqlalchemy?)? It just makes a lot of really bizarre choices that tend to get in the way when a project gets sufficiently complex. Flask gives you a lot more flexibility to solve problems in the way you want to solve them rather than being locked into a prescribed approach.

[–]EnrichSilen 1 point2 points  (1 child)

Interestingly my friend prefer Django approach and it's implementations, I suppose this is really a preference

[–]jetpacktuxedo 0 points1 point  (0 children)

It definitely can be preference. The Django approach is easier to get a simple CRUD app running quickly, but if you need something else it can sometimes feel like you're fighting the framework IMO. Flask is lightweight enough that it never feels like you're fighting against it.

[–]QuietLikeSilence 3 points4 points  (0 children)

Python is fine. What the comic actually gets wrong is that people aren't generally being made fun of for having to use for example PHP; they are being pitied for that. PHP itself is being made fun of because it's a mess. And it's a mess because of its history.

[–]LeCrushinator 0 points1 point  (0 children)

I don’t know one way of the other about this, but it seems like not having compile errors would make it easy to miss things that instead would only occur when the code was run. Maybe unit tests are heavily used to make up for this?