Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Going from a pure string of SQL or JSON to a concrete type without actually executing any runtime code is pretty crazy.

Elixir/Erlang might already be able to do something like this with metaprogramming. It’s certainly possible to generate and run Elixir at compile time, and map types are already a good superset for JSON objects, so a compile time JSON to map could then provide an inferrable type. I think someone more savvy with Elixir would know more. I’d certainly not something that I’ve needed.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: