Hacker News new | ask | show | jobs
by adsharma 1907 days ago
I explore this topic in my blog post from a few months ago:

https://adsharma.github.io/flattools-programs/

In short, django models are written using a very low level of abstraction. I much prefer dataclasses generated from a high level IDL.

The blog post compares different IDLs and argues why flatbuffer IDL is more suitable.

In order to express queries over such models:

https://adsharma.github.io/fquery/

1 comments

Also see:

https://github.com/oxan/djangorestframework-dataclasses/issu...

on how this could work. The author wasn't interested, but I might pursue it in a fork.