This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: db interface (was Re: Scheme is too complicated)



(Speaking from general experience, given my broad ignorance of SQL.)

I would expect a good design to support both: the ability to send SQL
commands directly, and something for cleanly and reliably building
them under program control.

Without the first, I'm imagining some guy who knows what he's doing
saying, "Dammit, what do I have to tell this thing just to get {foo}?"

Without the second, as someone said, everyone will write it
themselves.

Why not just have the database interface accept raw strings, and
provide another module for constructing those strings nicely?