Eloquent JavaScript : A Modern Introduction to Programming, 3/e (Paperback) (優雅的 JavaScript:現代程式設計入門(第三版))

Marijn Haverbeke

買這商品的人也買了...

相關主題

商品描述

Completely revised and updated, this best-selling introduction to programming in JavaScript focuses on writing real applications.

JavaScript lies at the heart of almost every modern web application, from social apps like Twitter to browser-based game frameworks like Phaser and Babylon. Though simple for beginners to pick up and play with, JavaScript is a flexible, complex language that you can use to build full-scale applications.

This much anticipated and thoroughly revised third edition of Eloquent JavaScript dives deep into the JavaScript language to show you how to write beautiful, effective code. It has been updated to reflect the current state of Java¬Script and web browsers and includes brand-new material on features like class notation, arrow functions, iterators, async functions, template strings, and block scope. A host of new exercises have also been added to test your skills and keep you on track.

As with previous editions, Haverbeke continues to teach through extensive examples and immerses you in code from the start, while exercises and full-chapter projects give you hands-on experience with writing your own programs. You start by learning the basic structure of the JavaScript language as well as control structures, functions, and data structures to help you write basic programs. Then you'll learn about error handling and bug fixing, modularity, and asynchronous programming before moving on to web browsers and how JavaScript is used to program them. As you build projects such as an artificial life simulation, a simple programming language, and a paint program, you'll learn how to:

- Understand the essential elements of programming, including syntax, control, and data
- Organize and clarify your code with object-oriented and functional programming techniques
- Script the browser and make basic web applications
- Use the DOM effectively to interact with browsers
- Harness Node.js to build servers and utilities

Isn't it time you became fluent in the language of the Web?

* All source code is available online in an inter¬active sandbox, where you can edit the code, run it, and see its output instantly.

商品描述(中文翻譯)

這本暢銷的JavaScript程式設計入門書籍已經完全修訂和更新,重點放在撰寫實際應用程式上。

JavaScript是現代幾乎所有網頁應用程式的核心,從像Twitter這樣的社交應用程式到像Phaser和Babylon這樣的基於瀏覽器的遊戲框架。雖然對初學者來說很容易上手並且玩耍,但JavaScript是一種靈活而複雜的語言,您可以使用它來構建完整的應用程式。

這本廣受期待且經過全面修訂的第三版《Eloquent JavaScript》深入探討JavaScript語言,向您展示如何撰寫優雅而有效的程式碼。它已經更新以反映Java¬Script和網頁瀏覽器的最新狀態,並包括有關類別表示法、箭頭函式、迭代器、異步函式、模板字串和區塊範圍等功能的全新內容。還新增了大量新的練習題,以測試您的技能並保持您的進度。

與前幾版一樣,Haverbeke繼續通過大量示例教學,並從一開始就讓您深入研究程式碼,同時通過練習和完整章節的專案讓您親身體驗撰寫自己的程式。您將首先學習JavaScript語言的基本結構,以及控制結構、函式和資料結構,以幫助您撰寫基本程式。然後,您將學習錯誤處理和錯誤修復、模組化和異步程式設計,然後轉向網頁瀏覽器以及JavaScript在瀏覽器中的應用。在構建項目時,例如人工生命模擬、簡單的程式語言和繪圖程式,您將學習如何:

- 理解程式設計的基本要素,包括語法、控制和資料
- 使用物件導向和函數式程式設計技術組織和澄清您的程式碼
- 編寫瀏覽器腳本並製作基本的網頁應用程式
- 有效地使用DOM與瀏覽器進行互動
- 利用Node.js構建伺服器和工具程式

是時候讓您精通網頁的語言了吧!

* 所有原始碼都可以在線上的互動沙盒中獲得,您可以編輯程式碼、執行它並立即查看輸出。