Hacker News new | past | comments | ask | show | jobs | submit login

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/




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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: