by ak217 · 13y ago · 0 comments
"Custom Ducks" and "Cached Properties" terrify me a bit. Not Pythonic (as in, not easily readable).
But on the whole, I take that back. I was looking through your talks and realized that was the only place I got that feeling, and also found http://dev.pocoo.org/~mitsuhiko/badideas.pdf which takes a stand against magic.
Edit: I still think arguments would be better (more explicit/readable) than globals (request, etc.) in Flask, but it's your module and I know you've considered the reasons to make it that way. And globals don't exactly qualify as magic.