NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
▲SQLAlchemy 2.1.0 Released (sqlalchemy.org)
rcleveng 50 minutes ago [-]
I'm super excited to get rid of all of my workarounds that add or remove `+psycopg` from the URLs depending on what I'm giving it to.
listenallyall 40 minutes ago [-]
SQLAlchemy is the library that convinced me, 8 or 9 years ago, to avoid using Python altogether.* Cold turkey, hard stop. Thank you for the motivation.

Not sure how they took something relatively straightforward - running database queries - and turned into such a convoluted mess.

*Python is still pretty good for data analysis, plotting, and scripting. But not for building actual applications.

BadBadJellyBean 35 minutes ago [-]
Did someone force you to use SQLAlchemy? I mean you can write DB queries with and ORM. There are also other ORMs for python.
Daishiman 15 minutes ago [-]
They all say that until your business logic is so convoluted that maintaining several dozen SQL queries begets more work than sensible so you end up inventing your own query builder which is fine until you realize you really need business objects so you make up your own ORM and then you realize you needed SQLA or some similar piece of tech all along.

Tale as old as time.

listenallyall 10 minutes ago [-]
You're not entirely wrong. But SQLAlchemy's approach and design are still awful and confusing. There are much, much better tools/libraries out there.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 00:00:27 GMT+0000 (Coordinated Universal Time) with Vercel.