您的位置:首页 > 编程语言 > Go语言

Closure Design Goals and Principles

2011-09-01 23:03 281 查看
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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐