3 ms·
Relational programming may be beautiful, sure, I guess in some ideal world. But SQL syntax is a dog. Especially when it's sitting next to real code, wrapped u
by ewjordan 17y ago
Relational programming may be beautiful, sure, I guess in some ideal world.
But SQL syntax is a dog. Especially when it's sitting next to real code, wrapped up inside strings and making everything feel dirty.
If you're using an SQL database from within another language primarily just to dump objects and pull them out, and especially if you're doing a lot of it, I have trouble thinking of a situation where you wouldn't prefer to abstract away the SQL bits. Maybe if you're working in a language with built in SQL syntax support? Even then, it's not exactly compact, and you've got quite a bit to do even after you get your results back from the database...