Redian新闻
>
Microsoft augments JavaScript for large-scale development
avatar
Microsoft augments JavaScript for large-scale development# Java - 爪哇娇娃
g*e
1
趁着下雨赶紧移苗,不知道多少棵够,先移了十几棵。
avatar
Y*e
2
看到了Dataline的采访,里面流出一段MJ的谈话录音。
他说的2点
1,He is afraid of people
2, He wanted success and fame, because he wanted to be loved.
我觉得很有意思,也很真实。这个话题跟音乐没有关系,但是再发一下,以纪念他吧。
http://www.youtube.com/watch?v=g-CcqOe9WWU
avatar
s*r
3
4.
从大学校园里穿过,就会遇见一座小小的寺庙,好像是叫"卧佛寺"。
如今,已经记不得寺里供奉得是什么菩萨了,只隐约记得寺庙的宝塔是绿的,围墙也泛
绿,寺庙里的人好像养了些小羊羔,有时候会看到一群小羊在坡上吃草,咩咩咩的,若
是兴起了,大伙也会边走边扯着嗓子咩咩咩的学羊叫,惹得那群小羊更卖力得咩咩咩,
看羊人急了,也会冲我们喊一嗓子,吓得我们拔腿就跑,书包在背后嗒嗒嗒的打着屁股。
关于卧佛寺,还记得有个老爷爷曾跟我们说,临汾有三宝,"尧庙","地里的半截砖",
和"卧佛寺的宝塔"。尧庙,就是尧舜禹的那个尧的庙,尧他老人家说起来也是我老乡。
"地里的半截砖"是说,不管在临汾城那个地方刨个坑,挖出来的砖,从来没完整的,都
是半截子的砖头。这个很邪乎。"卧佛寺"的宝塔就是我上学放学必见的这个绿绿的小宝
塔了。老爷爷说,临汾城就死命戳在一个很恐怖的地震带上,这三样东西保佑咱几百年
不地震,老百姓平安过日子。
所以即便后来卧佛寺荒废了,变成了一个学计算机的学校的校舍,那个小绿宝塔还没拆
。我小时候,以为我每天见的这个小绿宝塔就是"西游记"里的那个顶子上有颗硕大夜明
珠的宝塔,经常会在上学路上盯着
avatar
r*r
4
http://www.infoworld.com/print/203737
Microsoft augments JavaScript for large-scale development
By IDG News Service staff
Created 2012-10-01 01:53PM
Equipping JavaScript to build more complex applications, Microsoft has
augmented JavaScript with a set of advanced development capabilities
typically found in more mature programming languages, such as C++ and Java.
These new capabilities, packaged as a JavaScript superset called TypeScript,
offers static typing, classes and modularization.
"Over the last five years we've increasingly heard from customers that
writing application-scale JavaScript is just too hard," said Anders
Hejlsberg, Microsoft chief architect for Microsoft's C# language. TypeScript
should pave the way for new ways to aid JavaScript code development,
providing the basis for code prediction, superior debugging, refactoring and
easier navigation through the thickets of large sets of program code, he
said.
[ How much do you know about this stalwart developer tool? Find out in
InfoWorld's JavaScript IQ test [1]. | Learn how to work smarter, not harder
with InfoWorld's roundup of all the tips and trends programmers need to know
in the Developers' Survival Guide [2]. Download the PDF today! | Keep up
with the latest developer news with InfoWorld's Developer World newsletter [
3]. ]
Overall, Microsoft engineers spent over two years developing this
functionality, Hejlsberg said. The company released the specification of
TypeScript, as well as an open source compiler on the CodePlex repository [4
]. The company also developed a TypeScript plug-in for Visual Studio.
TypeScript is not an entirely new language, but rather a superset of
JavaScript, Hejlsberg said. Developers code in JavaScript, using the
TypeScript parts as needed. They then run the code through the TypeScript
compiler, which emits standard JavaScript.
"All JavaScript code is TypeScript code and all JavaScript libraries just
work with TypeScript," said Hejlsberg. "TypeScript compiler emits idiomatic
JavaScript. The resulting code runs on any browser."
TypeScript was designed to accommodate an increasing number of developers
who are interested in using JavaScript to build large-scale Web applications
to run in a browser, rather than on the desktop.
"JavaScript was created as a scripting language. It [wasn't designed] to
structure medium- to large-scale code bases such as classes or modules,
Hejlsberg said. "JavaScript is an entirely dynamic language that has no
static typing, and static typing is really the thing that powers today's
rich IDEs."
Static typing requires that developers assign a specific data type to each
variable they create. JavaScript itself is a dynamically typed language, in
which variables do not have to be assigned a data type beforehand,
simplifying coding for the less experienced.
With static typing, however, the compiler can provide more detailed reports
on coding errors, as well better predict what the program might need,
because it can determine the type of data a variable should be assigned. In
Visual Studio, for instance, TypeScript will allow IntelliSense to
anticipate what coders need when writing JavaScript, to a similar degree
that IntelliSense does now with C# and other statically typed languages.
TypeScript's type annotation is flexible as well. Developers can add type
annotations only where they want it, to their own code, or to specific
libraries.
In addition to static typing, TypeScript also offers modularity and the
ability to do class declarations, both following the specifications now
being settled on by the developers of the next version of ECMAScript, the
standard reference upon which JavaScript is based.
Classes will allow developers to reuse existing functionality in the program
. Modularity can help them organize large codebases, as well as make it easy
to swap in updates to one part of the code with little impact to other
parts of the program.
Microsoft is not the first company to tackle the problem of making
JavaScript more robust. Google has also confronted the shortcomings of
JavaScript for complex application development, most notably by developing a
new language to handle more complex Web applications, called Dart [5].
TypeScript could be advantageous over Dart in that it does not require
developers to learn an entirely new language. Rather they can continue to
use JavaScript and just learn the specific rules around the TypeScript
language, Hejlsberg said.
Another potential advantage to TypeScript is that no new technology is
needed on browsers, given that the finished TypeScript code is compiled into
regular JavaScript, which then can be run on any browser. TypeScript
carries no additional performance lag on runtime, due to the fact that the
TypeScript additions "compile away," said Hejlsberg.
The TypeScript specification is available, at no cost, under the Open Web
Foundation OWFa 1.0 Specification Agreement, and Microsoft is seeking
community consultation for further development. The compiler is licensed
under the Apache 2.0 license.
Joab Jackson covers enterprise software and general technology breaking news
for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson [6]. Joab
's e-mail address is J**********[email protected] [7]
avatar
R*G
5
不要超过十棵,长成了一棵有5-6斤吧。
avatar
a*a
6
看有多大的地吧, 其实这个东西除了吃新鲜的,还可以做成腌菜, 属于可多可少的菜菜
avatar
L*A
7

淹好的雪里红顿豆付那才好吃哪!

【在 a****a 的大作中提到】
: 看有多大的地吧, 其实这个东西除了吃新鲜的,还可以做成腌菜, 属于可多可少的菜菜
avatar
a*a
8
恩, 雪里蕻炒毛豆也还不错
或者雪菜肉丝面

【在 L****A 的大作中提到】
:
: 淹好的雪里红顿豆付那才好吃哪!

avatar
j*u
9
还有片儿川呀,口水!
要是再有茭白或者鲜笋片就perfect了

【在 a****a 的大作中提到】
: 恩, 雪里蕻炒毛豆也还不错
: 或者雪菜肉丝面

avatar
g*e
10
那就往多里整吧,育的苗有点多,舍不得丢呢

【在 a****a 的大作中提到】
: 看有多大的地吧, 其实这个东西除了吃新鲜的,还可以做成腌菜, 属于可多可少的菜菜
avatar
a*a
11
你种的哪种雪里蕻?
我今年种了大叶和小花叶两种

【在 g*****e 的大作中提到】
: 那就往多里整吧,育的苗有点多,舍不得丢呢
avatar
g*e
12
头一次种,不知道是哪一种,照片在这里,你看看?

【在 a****a 的大作中提到】
: 你种的哪种雪里蕻?
: 我今年种了大叶和小花叶两种

avatar
a*l
13
求雪里红的种子
avatar
l*g
14
东北菜!

【在 L****A 的大作中提到】
:
: 淹好的雪里红顿豆付那才好吃哪!

avatar
l*g
15
江浙菜。:)

【在 a****a 的大作中提到】
: 恩, 雪里蕻炒毛豆也还不错
: 或者雪菜肉丝面

avatar
l*g
16
不会腌阿。咋办?
a大这个也顺便教了吧!

【在 a****a 的大作中提到】
: 看有多大的地吧, 其实这个东西除了吃新鲜的,还可以做成腌菜, 属于可多可少的菜菜
avatar
f*i
17
看你是要吃新鲜还是腌咸菜

【在 g*****e 的大作中提到】
: 趁着下雨赶紧移苗,不知道多少棵够,先移了十几棵。
avatar
a*a
18
超级简单
先洗干净沙土, 晾干成7成干,然后用盐喳喳,去掉析出的水。然后塞到玻璃瓶子里,
压紧实了,密封盖好盖子。

【在 l********g 的大作中提到】
: 不会腌阿。咋办?
: a大这个也顺便教了吧!

avatar
a*a
19
这是大叶的

【在 g*****e 的大作中提到】
: 头一次种,不知道是哪一种,照片在这里,你看看?
相关阅读
logo
联系我们隐私协议©2024 redian.news
Redian新闻
Redian.news刊载任何文章,不代表同意其说法或描述,仅为提供更多信息,也不构成任何建议。文章信息的合法性及真实性由其作者负责,与Redian.news及其运营公司无关。欢迎投稿,如发现稿件侵权,或作者不愿在本网发表文章,请版权拥有者通知本网处理。