3 ms·
We think alike in many ways! I'd like to respond to some of your points. > * Class Inheritance is an anti-pattern. Just say no to classes. Period. > * Python
by ravenstine 3y ago
We think alike in many ways! I'd like to respond to some of your points.
> * Class Inheritance is an anti-pattern.
Just say no to classes. Period.
> * Python is an anti-pattern.
Yes.
> * The 80/20 of functional programming is use pure functions and acknowledge that everything is a list or an operation on a list.
Yes, though pure functions are way more important.
> * GraphQL is better than REST when you have multiple clients, codegen or any AI/RAG needs
While GraphQL and RPC are better in a lot of ways, I'd propose that none of these forms of API are always necessary, and that there's nothing wrong with simply having a single endpoint that receives a POST request with some arbitrary data that responds with arbitrary data. People speak as if you must at least use REST, but that is not true, and REST probably should be avoided unless it's somehow called for.