为什么谷歌关闭没有更受欢迎?
因此,谷歌在一两年前发布了这个可爱的小框架,称为 Closure。目前还没有太多采用(除了使用编译器的高级编译功能;),我很好奇为什么。
是因为设置闭包并将其集成到您的构建中的初始开销吗?实际的 js 库是否过于冗长/陌生(相对于其他 js 框架)?是否立即收到“负面报道”发布(回复:低效的技术和不良实践)会给开发人员留下不好的印象吗? Closure 是否更适合网络应用而不是网站(显然,网站更普遍)?或者每个人真的只是对 jQuery* 感到满意吗?
郑重声明,当我说 Closure 时,我指的是整套工具:编译器、js 库、模板系统和 linter/inspector。另外,我希望答案更适合 Alexa 前 500 名网站,而不是普通的夫妻店。
So, Google released this sweet little framework a year or two ago called Closure. There hasn't been much adoption (other than playing w/ the compiler's advanced compile feature ;) and I'm curious as to why.
Is it because of the initial overhead to setup and integrate Closure in to your build? Is the actual js library too verbose/foreign (relative to other js frameworks)? Did the "bad press" it received right after launch (re: inefficient techniques and bad practices) leave a bad taste in the mouths of developers? Is Closure more geared towards web-apps than websites (where, obviously, websites are more prevalent)? Or is everyone really just that satisfied with jQuery*?
For the record, when I say Closure I mean the whole suite of tools: the compiler, js library, templating system, and linter/inspector. Also, I would love answers tailored more to a site that's in Alexa's top 500 than your average mom and pop shop.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论