3 ms·
That's begging the question: it never was. Some ORMs are awful to work with, but that doesn't mean the genre is a bad idea. I've loved working with SQLAlchemy
by kstrauser 3y ago
That's begging the question: it never was.
Some ORMs are awful to work with, but that doesn't mean the genre is a bad idea. I've loved working with SQLAlchemy over the years because it doesn't try to re-invent the whole idea of SQL. Instead, it gives you a convenient layer for building queries, passing them around, etc., while it concentrates on getting the details right so you don't have to futz around with them.
- evrimoztamur 3y agoI also can vouch for SQLAlchemy, in the in the sense that it allows me to write SQL with confidence, where the code matches the query.
- bellgrove 3y agoI haven’t seen someone use the phrase begging the question properly in… forever.
- jkrubin 3y agoWhat is the proper usage?
- kstrauser 3y agoI don't think I can summarize it concisely, so I'll defer to the wiki: https://en.wikipedia.org/wiki/Begging_the_question https://en.wikipedia.org/wiki/Begging_the_question In this case, the phrasing of the question implies something not at all evident, that ORMs are an anti-pattern.
- teddyh 3y agohttps://en.wikipedia.org/w/index.php?title=Begging_the_question&oldid=1157780714 https://en.wikipedia.org/w/index.php?title=Begging_the_quest...
- nprateem 3y agoIncluding here, since 'it never was' is a statement, not a question. So no question has been begged.
- DangitBobby 3y agoYou've misunderstood the comment. The question posed in the title of TFA is being begged.
- deleted 3y ago[deleted]
- nprateem 3y agoOh I see, 2 statements: That's begging the question. It never was.
- tempest_ 3y agoMy only real ORM experience is with SQLAlchemy (and a tiny bit of trying to learn ecto) and based on this thread I have to ask are all the other ORMs just terrible? I've been learning some rust lately and writing out boilerplate code to handle simple CRUD is painstaking and it feels like a waste of my time. SQLAlechemy's ORM can get in the way a bit for more complex queries (or ones you are trying to optimize) but you can always just drop down and write the SQL for those specifically.
- edgyquant 3y ago>are all the other ORMs just terrible From what I’ve seen yes. My first ORM was flask-sqlalchemy. Migrating a database was literally just updating an object and running a command. No other ORM has been this seamless.