17. 1972 年 C
• 著名的 C 語言是在這年誕生的,由貝爾實驗室的丹尼斯·里奇(Dennis
Ritchie)所開創出來的,是為了在早期的電腦上執行 UNIX 系統所開創
出來的,並做為通用開發的低階程式語言。C 語言有著眾多分支版本,
且都相當的知名且使用者多,如 C#、Java、Javascript、Perl、PHP 與
Python 等均是。其主要運用在跨平台的應用程式、系統程式、UNIX 程
式與遊戲軟體的開發上,使用相當廣泛,早期 WWW 網際網路伺服器
也是以 C 語言在 1973 年重新撰寫的 UNIX 上運作的。
18. 1983 年 C++
• C++ 早期被稱之為「C with Classes(包含型別的 C 語言)」,同樣由
貝爾實驗室的比雅尼·史特勞斯特魯普(Bjarne Stroustrup)發明,其後
才另命名為 C++,其「+」表示為增強之意,C++ 屬中階程式語言,
加強了 C 語言中的 Classes(型別)、虛擬函式、模版等功能。它也被
廣泛的使用在應用軟體、嵌入式軟體、伺服器軟體與電視遊樂器中的
遊戲開發中,從 Adobe、Google Chrome、Mozilla、Microsoft Internet
Explorer(IE)等,使用的都是 C++。
19. 1983 年 Objective-C
• Objective-C 同樣是洐生至 C 語言的程式語言,由 Stepstone 公司的創辦人布萊德·
考克斯(Brad Cox)與湯姆·勒(Tom Love)共同發明,屬於通用、高階的程式語
言,其並加入了物件導向與 Smalltalk 語言的訊息傳遞風格。Objective-C 最早由蘋
果公司創辦人 Steve Jobs 另創的 NeXT 公司買下授權並做為 NeXTSTP 系統的使用
者界面與開發的環境的基礎。
• 在 NeXT 被蘋果併購後,NeXTSTEP 的架構成為 OS X 與行動裝置上的 iOS 的核心
後,Objective-C 也就成了蘋果公司開發軟體的主要程式語言,iPhone/iPad 於市場
熱銷下,Objective-C 的知名度與使用者也大幅增加。
Note the "LOG" statement at the bottom, that is a developer-created message from within the web application (more on those later).
Unfortunately, if the JS code is minified, clicking on the blue text won't help much (and IE11 does not support sourcemaps).
Note the "LOG" statement at the bottom, that is a developer-created message from within the web application (more on those later).
Unfortunately, if the JS code is minified, clicking on the blue text won't help much (and IE11 does not support sourcemaps).
Note that since "window" is the default context, generally you can simply use: `console.log(...)` without `window.` in front
Note that since "window" is the default context, generally you can simply use: `console.log(...)` without `window.` in front
Note that if the method does not "return" anything you will see "undefined" in the output