3 ms·
I've always been a fan of Django's "Declarative for most stuff. Procedural when you need it" approach. Models and forms are a good example but it permeates the
by andybak 8y ago
I've always been a fan of Django's "Declarative for most stuff. Procedural when you need it" approach. Models and forms are a good example but it permeates the whole framework. It's largely an case of favouring composition over inheritance combined with sensible defaults but it feels declarative for the common cases.
- dkersten 8y agoI agree, I think this is a good approach. Common things should be super quick and easy, but when you need to go further, it should get out of the way.