# Kill all API's
Specifically, kill RPC or REST API's. Any APi that forces you to pipe queries through a very limited syntax sucks. Why can't you use your entire programming language constructs as your API?
It turns out you can. If you write your software in Prolog, you could use 'Pengine' as your server API. Now you can send a prolog program to the server to run a query and return results, as prolog primitives.
Not everyone wants to learn Prolog, though you probably should. But we can do this with javascript as well. In the case of Hope, each doclet is running in your browser already. It is trivially simple to add a script to a doclet and run it. Now you have access to the data and programming interfaces and libraries in the doclet, with full javascript goodness.
The security concerns are limited as well. All code is running in your browser, not on some server. The browser is already sandboxing your code. You can't mess up any data for other people, only your local copy.