Eloquent JavaScript: A Modern Introduction to Programming, 2/e (Paperback)
暫譯: 優雅的 JavaScript:現代程式設計入門(第二版,平裝本)

Marijn Haverbeke

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

商品描述

JavaScript is at the heart of almost every modern Web application, whether it's Google Apps, Twitter, or the newest browser-based game. Though it's simple for beginners to pick up and play with, JavaScript is not a toy—it's a flexible, complex language that you can use to build full-scale applications.

Eloquent JavaScript, 2nd Edition dives into the language and teaches you to write beautiful, effective code. By immersing you in example code and encouraging experimentation right from the start, the author quickly provides the tools you need to build your own programs. As you follow along with examples like an artificial life simulation, a simple programming language, and a platform game, you'll learn to:

  • Understand the essential elements of programming: syntax, control, and data
  • Organize and clarify your code with object-oriented and functional programming techniques
  • Script the browser and make basic Web applications
  • Harness node.js to build servers and utilities
  • Use the DOM effectively to interact with browsers
This new edition is thoroughly revised and modernized, and it's full of brand-new material, including expanded content on recursion, closures, and more. All source code is available online in an interactive sandbox and has been updated to follow current JavaScript idioms. With Eloquent JavaScript, 2nd Edition as your guide, you'll be fluent in the language of the Web before you know it.

商品描述(中文翻譯)

JavaScript 是幾乎所有現代網頁應用程式的核心,無論是 Google Apps、Twitter,還是最新的基於瀏覽器的遊戲。雖然對於初學者來說,JavaScript 容易上手並且可以隨意玩弄,但它並不是玩具——它是一種靈活且複雜的語言,可以用來構建完整的應用程式。

《Eloquent JavaScript, 2nd Edition》深入探討這門語言,教你如何編寫優雅且有效的程式碼。通過沉浸在範例程式碼中並鼓勵從一開始就進行實驗,作者迅速提供了你構建自己程式所需的工具。隨著你跟隨範例,如人工生命模擬、簡單的程式語言和平台遊戲,你將學會:

- 理解程式設計的基本元素:語法、控制和數據
- 使用物件導向和函數式程式設計技術來組織和澄清你的程式碼
- 編寫瀏覽器腳本並製作基本的網頁應用程式
- 利用 node.js 構建伺服器和工具
- 有效使用 DOM 與瀏覽器互動

這一新版經過全面修訂和現代化,並且包含大量全新內容,包括擴展的遞迴、閉包等主題。所有源代碼都可以在線上互動沙盒中獲得,並已更新以遵循當前的 JavaScript 語法。藉由《Eloquent JavaScript, 2nd Edition》作為你的指南,你將在不知不覺中流利掌握網頁的語言。