Closure Design Goals and Principles

Haven't in blog for a long time, in this days, I was in love with Closure, A javascript Library presented by GOOGLE. 

Closure is a collection of tools for building rich web applications in JavaScript. It is important to understand the design goals and principles that motivate the implementation of the Closure Tools.

1、Reducing Compiled Code Size Is paramount

2、All Source Code Is Compiled Together

3、Managing Memory Matters

4、Make It Possible to Catch Errors at Compile Time

5、Code Must Work Without Compilation

6、Code Must Be Browser-Agnostic

7、Built-in Types Should Not Be Modified

8、Code Must Work Across Frames

9、Tools Should Be Independent 

转载于:https://www.cnblogs.com/lexloo/archive/2011/09/01/2162591.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值