News for hackers. Stuff that matters.
Re:Just what does “code as data” mean anyway? (2014) by kazinator on Friday February 16, 2018 @10:15AM (#16392864)
That particular select instance could indeed just be an ordinary function, whereby the (where ...) and (order ...) are just evaluated argument expressions, also calling ordinary constructors for objects that influence the query. It doesn't really demonstrate the ability to manipulate syntax.

Things start to get more interesting when some of the inputs need to be lambdas. Still, the sugaring of those can be in the arguments, and select can remain a function. Now suppose that a clause can, say, bind a lexical variable that a later clause can somehow usefully refer to; things like that.

Re:Just what does “code as data” mean anyway? (2014) by dmitriid on Friday February 16, 2018 @11:43AM (#16393574)
Unless I’m missing something everything you said applies to jOOQ code.