DEV Community

loading...

Discussion on: You're ORMing wrong

Collapse
juancarlospaco profile image
Juan Carlos

ORM that expands into low level database primitives at compile-time,
then at run-time it does not really exists anymore,
leaving only the compiled database primitives.

The kind of stuff that Nim lang can do with its powerful metaprogramming.

Metaprogramming is code that transforms the AST during compilation.
Code that codes code basically.

Thread Thread
tinydevops profile image
Jonathan Hall Author

The point of my original post is that converting from relational data to objects, back to relational data, is silly. Whether this is done at runtime, compile time, with metaprogramming, or in any other way, it still seems silly.