3 ms·
The Python framework FastAPI does this too. I think it does so because it's convenient, easy, and it's one less line of boilerplate. You trade off flexibility f
by nerdponx 4y ago
The Python framework FastAPI does this too. I think it does so because it's convenient, easy, and it's one less line of boilerplate. You trade off flexibility for having a very clean and simple "happy path".
- masklinn 4y ago> You trade off flexibility for having a very clean and simple "happy path". You don't trade anything though, if you want the raw information you can just ask for that.