News for hackers. Stuff that matters.
Re:ClojureQL - SQL DSL for Clojure by amix on Friday December 11, 2009 @12:04PM (#990003)
I am a bit disappointed by this abstraction, especially given what power Clojure gives for creating DSLs. This "SQL DSL" seems to resemble a lot on how database handling works in Java.

The people behind ClojureQL should take a look at Python's SQLAlchemy or Ruby's Sequel for inspiration on how to create kick ass SQL abstractions.

Re:ClojureQL - SQL DSL for Clojure by jrockway on Friday December 11, 2009 @01:07PM (#990129)
It's not really much of an abstraction. You are still programming SQL, but you spell some things differently.

An abstraction is where you treat the relational data source like something closer to your application; perhaps as a queryable object store. (This is the abstraction that ORMs provide.)

Re:ClojureQL - SQL DSL for Clojure by Tamerlin on Friday December 11, 2009 @04:23PM (#990527)
They should look at Linq.
Re:ClojureQL - SQL DSL for Clojure by yu on Friday December 11, 2009 @07:59PM (#990927)
LINQ is nice and if it helps db4o which is GPL has Java and .NET languages support.
Re:ClojureQL - SQL DSL for Clojure by kolosy on Friday December 11, 2009 @12:05PM (#990004)
it does seem a lot more verbose than it should be.
Re:ClojureQL - SQL DSL for Clojure by lbj on Saturday December 12, 2009 @06:41AM (#991424)
Generally the comments in this post (currently 5) all demonstrate a misunderstanding of the core principles.

ClojureQL provides DB Agnosticism and language-level statement construction. On top of ClojureQL you could build any number of high-level abstractions, but ClojureQL is not an attempt at doing that.