Redman (Considered harmfull)
banner
redman-plus.bsky.social
Redman (Considered harmfull)
@redman-plus.bsky.social
The worst tech advices you could imagine | Currently in my calendar era
I've lately settled for a semi-functional approach with drf - each action is a pipeline, and you supply functions to it composing final behaviour

Writing like this is such a joy, you just implement several functions and plug it in

Also allows to easily opt out of the batteries when needed
November 13, 2024 at 1:04 PM
To be honest, django type stubs are a mess (mostly due to QuerySet API inheritance structure being a mess) - most times it's either wrong or oblivious and it messes up LSP pretty badly

For example - I have a M2M relationship, and type stubs are suggesting parameters to `add` that simply don't exist
November 13, 2024 at 8:48 AM