News for hackers. Stuff that matters.
Re:A RESTful Micro-Framework in Go by rckclmbr on Sunday January 26, 2014 @03:53PM (#7126845)
Honest question... how is this different from, say:

rows, err := db.execute("SELECT col FROM tab WHERE x = ?", 1);

Re:A RESTful Micro-Framework in Go by lann on Sunday January 26, 2014 @04:09PM (#7126920)
Primarily because you can reuse partial queries and add conditional where clauses more easily.

There are other features I haven't shown here as well, like building an IN expression with placeholders from a slice.

Re:A RESTful Micro-Framework in Go by mercurial on Monday January 27, 2014 @08:52AM (#7130261)
It's harder to shoot yourself in the foot by mistyping SELECT, for instance, and it's clearly more composable.