3 ms·
I think a lot of the times python is used almost exclusively for dead simple batch tasks where this level of detail is just not remotely needed.
by DontchaKnowit 2y ago
I think a lot of the times python is used almost exclusively for dead simple batch tasks where this level of detail is just not remotely needed.
- throwaway894345 2y agoSure, but I've never worked somewhere that employed people to write "dead simple batch tasks". If you're writing async endpoints, it feels reasonable to assume that people know how an event loop works (or at least not to make sync calls in an async function).
- DontchaKnowit 2y agoReally? I feel like 90% of my programming career has been churning out dead simple code. Just business logic
- throwaway894345 2y agoPersonally I think an API endpoint is "dead simple" but if your API endpoint is async, you still need to know not to call sync functions in it. The fact that such a large share of Python developers don't understand this concerns me.