On 12/11/2013 07:14 PM, Kevin Ballard wrote:
My belief is that a generic interface to DBs is only useful because that way
you can write other DB-driven libraries that don't care about the details of
the DB. I don't think I've ever seen code in the wild that uses this
functionality though (although, admittedly, I haven't looked at a lot of code
that uses databases in general).
-Kevin
Agreed, but on the other hand (at least partially) abstracting
DB-framework-specific details is like abstracting OS-specific or
filesystem-specific details: it helps anyway. (Eg, I hate to be forced to deal
with SQL idiosyncracies, I wish I would not be forced to learn this language's
design failures).
Denis
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev