BLU Discuss list archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss] SQLAlchemy Has Annoyances
- Subject: [Discuss] SQLAlchemy Has Annoyances
- From: kentborg at borg.org (Kent Borg)
- Date: Thu, 05 Feb 2015 13:28:45 -0500
- In-reply-to: <54D2C0AC.7060101@gmail.com>
- References: <54D2B2FA.4000000@borg.org> <54D2C0AC.7060101@gmail.com>
On 02/04/2015 08:00 PM, Richard Pieri wrote: > On 2/4/2015 7:02 PM, Kent Borg wrote: >> I was once at a Apple Developers' Conference--a *way* long time ago--and >> Iw ent to a session on debugging. At the beginning they put a slide >> saying that a well written program should be able to run for hours--even >> days!--without crashing. Seemed both radical and obvious. > > Seems neither? I mean, I've seen old database systems with uptimes > measured in years, and one that was approaching a decade at the time > (and if it's still running then it's a few years away from a second > decade). A well-written program won't crash. Period. Correct. That's my point. So it is annoying that a library might have a black hole where one can throw new objects but never get rid of old ones. > But regarding SQLAlchemy, that sounds like a Python-ism. You can't > delete classes in Python. It seems that all these libraries for doing Python to SQL databases are just different flavors or the same paradigm*: An "ORM" an "object relational model". And that seems my disagreement: (I think) they are all mapping one class to one table. But classes are rather upfront things that are expected to be somewhat stable, yet I have stuck in my head the idea that tables should be able to come and go, with little notice, without restarting my program because resources ran out. (See earlier point about "well-written programs".) * I think there is one exception: python-sql, and then I have to start writing Python code to write SQL statements. -kb
- Follow-Ups:
- [Discuss] SQLAlchemy Has Annoyances
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] SQLAlchemy Has Annoyances
- References:
- [Discuss] SQLAlchemy Has Annoyances
- From: kentborg at borg.org (Kent Borg)
- [Discuss] SQLAlchemy Has Annoyances
- From: richard.pieri at gmail.com (Richard Pieri)
- [Discuss] SQLAlchemy Has Annoyances
- Prev by Date: [Discuss] SQLAlchemy Has Annoyances
- Next by Date: [Discuss] SQLAlchemy Has Annoyances
- Previous by thread: [Discuss] SQLAlchemy Has Annoyances
- Next by thread: [Discuss] SQLAlchemy Has Annoyances
- Index(es):