Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

近期文章推荐 #11

Closed
FrankFang opened this issue Oct 18, 2016 · 0 comments
Closed

近期文章推荐 #11

FrankFang opened this issue Oct 18, 2016 · 0 comments

Comments

@FrankFang
Copy link
Owner

FrankFang commented Oct 18, 2016

对当前单页应用的技术栈思考 - 徐飞

评论

三年前,我们写 HTML、写 CSS、写 JS
三年后,我们不写 HTML、不写 CSS、不写 JS;只写需要转译的、无法运行在所有浏览器上的 JS

听说大家的开发效率都上去了,真是恭喜啊。

既然前端这么不待见 JS,明年干脆连 JS 也不写了吧,直接写 TypeScriptElm 吧(我没开玩笑 😂)


【译】少写代码少填坑 - 月影

评论

看看现在网页里面的 JS 文件(不包括 HTML、CSS)多大了:

  • 百度首页 - 150k+ 的 JS,用了 jQuery
  • 知乎首页 - 450k+ 的 JS,用了 Angular
  • 饿了么首页 - 120k 的 JS,用了 Angular
  • 淘宝首页 - 340k+ 的 JS,用了 KISSY
  • 新浪微博首页 - 500k+ 的 JS,不知道用的什么 :(
  • 1688 首页 - 200k+ 的 JS,用了 jQuery
  • Google 首页 - 169k 的 JS

我不知道这么多 JS 是否有必要,我只知道:

代码越多,BUG 越多。


喜欢的话,请点右上角的 watch 按钮,可以收到下一次推送。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant