Google announces Logica: organizing your data queries, making them universally reusable and fun
You can read more about it at the Google Open Source blog post, Logica: organizing your data queries, making them universally reusable and fun.
They advocate for datalog-like language they developed internally at Google.
Good programming is about creating small, understandable, reusable pieces of logic that can be tested, given names, and organized into packages which can later be used to construct more useful pieces of logic. SQL resists this workflow. Although you can encapsulate certain repeated computations into views and functions, the syntax and support for these can vary among implementations, the notions of packages and imports are generally nonexistent, and higher-level constructions (e.g. passing a function to a function) are impossible.
This entry originally appeared at lambda-the-ultimate.org/google-announces-logica, and may be a summary or abridged version.