by rev_bird · 11y ago · 0 comments
On a more relevant note, thanks for sharing this. It's always nice to read an explanation from somebody patient enough to not skip over a bunch of steps in the middle and avoid losing newbs like me.
On a more relevant note, I agree, this is a great article. :) (I'd already known in theory how decorators work, but this was a very clear presentation, and I hadn't quite thought through the part about only needing a reference to the unmodified function, so it was useful to see that trick spelled out.)
"Then saith he unto them, Render therefore unto Caesar the things which are Caesar's; and unto God the things that are God's."
Clearly Flask is Caesar's ;-)