startover's recent timeline updates
startover

startover

Life is short,I enjoy python.
V2EX member #71028, joined on 2014-08-15 22:31:36 +08:00
startover's recent replies
@bearqq 目前只是纯框架层面的对比,如果考虑 gevent , pypy , gunicorn , nginx 这些,情况就复杂了...
@timothyye 主要是个人精力有限...这个项目主要是起到抛砖引玉的作用,如果大家觉得有自己喜欢的框架,我也可以考虑加进去,当然,也欢迎给我提交 PR^_^
@loading 别闹...
Feb 25, 2016
Replied to a topic by linkbg Python 关于 python 装饰器的理解请教一下大家
如果一个函数被调用时需要增加一些功能,要么重写这个函数,要么利用高阶函数传入这个函数然后在高阶函数内部改造最后返回一个新的函数。后一种方法,即装饰器。

归根结底,装饰器就是利用了高阶函数和闭包的特性实现的语法糖,个人认为不用执着于概念,知道其应用场景就好了。

可以参考我之前写的一篇文章: http://startover.github.io/articles/2015/04/27/python-decorator-mistake/
公司挺靠谱,老板挺靠谱,顶一个
T恤看着还不错~
不错~感谢分享
Jul 3, 2015
Replied to a topic by OneAPM Python Python 装饰器使用过程中的误区
@saber000 上面貌似提到了wrapt这个库,mod-wsgi的作者写的,应该差不了
Jun 25, 2015
Replied to a topic by dongweiming 程序员 slack 上的小黄鸡 - SlackBot 欢迎围观
小明明加油~
你这个问题,用oneapm(国内)或newrelic(国外)应该就很好定位
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   946 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 19ms · UTC 21:25 · PVG 05:25 · LAX 14:25 · JFK 17:25
♥ Do have faith in what you're doing.