国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 開發 > JS > 正文

JavaScript-世界上誤解最深的語言分析

2024-09-06 12:41:53
字體:
來源:轉載
供稿:網友

JavaScript,是世界上最流行的編程語言之一。事實上世界上的每一臺個人電腦都安裝并在頻繁使用至少一個JavaScript解釋器。JavaScript的流行完全是由于他在WWW腳本語言領域中的地位決定的。


Despite its popularity, few know that JavaScript is a very nice dynamic object-oriented general-purpose programming language. How can this be a secret? Why is this language so misunderstood?

盡管它很流行,但是很少有人知道JavaScript是一個非常棒的動態面向對象通用編程語言。這居然能成為一個秘密!這門語言為什么被誤解如此之深?



The Name

名字

The Java- prefix suggests that JavaScript is somehow related to Java, that it is a subset or less capable version of Java. It seems that the name was intentionally selected to create confusion, and from confusion comes misunderstanding. JavaScript is not interpreted Java. Java is interpreted Java. JavaScript is a different language.

Java- 前綴很容易使人聯想到Java,并認為它是Java的子集或簡化版的Java??雌饋碜畛踅o它選這個名字是別有用心的,是故意混淆概念、故意制造"誤解"的。JavaScript不是解釋執行的Java。Java是解釋執行的Java。JavaScript是另外一種語言。


JavaScript has a syntactic similarity to Java, much as Java has to C. But it is no more a subset of Java than Java is a subset of C. It is better than Java in the applications that Java (fka Oak) was originally intended for.

JavaScript的語法和Java有相似之處,這就像Java的語法和C很相像一樣。但是它不是Java的子集,就像Java不是C的子集一樣。它在Java(Oak)最初打算進軍的領域中比Java更好。


JavaScript was not developed at Sun Microsystems, the home of Java. JavaScript was developed at Netscape. It was originally called LiveScript, but that name wasn't confusing enough.

JavaScript不是Sun Microsystems的產品,Sun是Java的家。JavaScript是在Netscape被開發出來的。它最初叫LiveScript,嗯……還是這個名字好。


The -Script suffix suggests that it is not a real programming language, that a scripting language is less than a programming language. But it is really a matter of specialization. Compared to C, JavaScript trades performance for expressive power and dynamism.

-Script后綴讓人認為他不是一門真正的編程語言,和一門"編程語言"還有相當的差距。但是這只是應用領域的問題。和C相比,JavaScript是犧牲了性能但換來了豐富的表現力和靈活的形態。


Lisp in C's Clothing

披著C皮的Lisp

JavaScript's C-like syntax, including curly braces and the clunky

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 郯城县| 富裕县| 博客| 嘉义市| 鸡东县| 洪雅县| 清徐县| 汉源县| 锡林郭勒盟| 山东省| 湘潭县| 苍山县| 屯留县| 耿马| 绥芬河市| 汝阳县| 玉环县| 二连浩特市| 淳安县| 南召县| 中西区| 汕头市| 开封市| 剑阁县| 张家口市| 贵港市| 洛扎县| 曲沃县| 南城县| 博兴县| 临夏县| 奎屯市| 泾源县| 开远市| 福泉市| 洛宁县| 东明县| 井冈山市| 旌德县| 漯河市| 肥乡县|