Hacker News new | ask | show | jobs
by bohinjc 4128 days ago
AFAIK Flask does not aim for performance first, it aims for developer productivity and code readability first. The whole thread-local thing is a good example of those trade-offs.

I'm not saying it's the best choice (nor the worse), just that it's a choice and it has consequences. At some point you need to make compromises, depending on your goal.