Simplifying JavaScript: Writing Modern JavaScript with ES5, ES6, and Beyond
暫譯: 簡化 JavaScript:使用 ES5、ES6 及更高版本撰寫現代 JavaScript
Joe Morgan
- 出版商: Pragmatic Bookshelf
- 出版日期: 2018-05-22
- 售價: $1,630
- 貴賓價: 9.5 折 $1,549
- 語言: 英文
- 頁數: 284
- 裝訂: Paperback
- ISBN: 1680502883
- ISBN-13: 9781680502886
-
相關分類:
JavaScript
立即出貨 (庫存 < 3)
買這商品的人也買了...
-
$500$475 -
$1,700$1,700 -
$520$411 -
$450$356 -
$1,900$1,805 -
$4,620$4,389 -
$403AWS 雲計算實戰 (Amazon Web Services in Action)
-
$1,980$1,881 -
$590$502 -
$600$474 -
$1,650$1,568 -
$560$442 -
$1,998$1,898 -
$1,980$1,881 -
$2,450$2,328 -
$1,840Multithreaded JavaScript: Concurrency Beyond the Event Loop
-
$2,680$2,626 -
$1,824Mastering API Architecture: Design, Operate, and Evolve Api-Based Systems (Paperback)
-
$600$510 -
$2,233Functional and Concurrent Programming: Core Concepts and Features
-
$1,805Functional Design: Principles, Patterns, and Practices (Paperback)
-
$750$375 -
$2,043Learning Systems Thinking: Essential Nonlinear Skills and Practices for Software Professionals (Paperback)
-
$1,980$1,881 -
$2,119Mastering Opentelemetry and Observability: Enhancing Application and Infrastructure Performance and Avoiding Outages
相關主題
商品描述
The best modern JavaScript is simple, readable, and predictable. Learn to write modern JavaScript not by memorizing a list of new syntax, but with practical examples of how syntax changes can make code more expressive. Starting from variable declarations that communicate intention clearly, see how modern principles can improve all parts of code. Incorporate ideas with curried functions, array methods, classes, and more to create code that does more with less while yielding fewer bugs.
It's time to write JavaScript code that's clean and exprssive. Modern JavaScript is more simple, predictable, and readable than ever. Discover how to write better code with clear examples using principles that show how updated syntax can make code better with fewer bugs.
Starting from the ground up, learn new syntax (or how to reuse older syntax) to transform code from clunky bug-susceptible scripts to clear and elegant programs that are easy to read and easy to extend.
Create a foundation for readable code with simple variable declarations that reduce side effects and subtle bugs. Select collections with clear goals instead of defaulting to objects or arrays. See how to simplify iterations from complex loops to single line array methods. Master techniques for writing flexible and solid code ranging from high-order functions, to reusableclasses, to patterns for architecting large applications creating applications that will last while through rounds of refactoring and changing requirements.
The best part is there's no need to read this book straight through. Jump around and incorporate new functionality at will. Most importantly, understand not just what the new syntax is, but when and how to use it. Start writing better code from the first page.
What You Need:
For the best experience, have the latest version of Node installed (at least version 7). You can test most examples in the console of Chrome or other modern web browser. If you'd like to run the tests, you'll also need to install the latest version of Node Package Manager (npm).
商品描述(中文翻譯)
最佳的現代 JavaScript 是簡單、可讀且可預測的。學習撰寫現代 JavaScript,不是透過死記新語法的清單,而是透過實際範例來了解語法變更如何使代碼更具表達性。從清楚傳達意圖的變數宣告開始,看看現代原則如何改善代碼的各個部分。結合使用柯里化函數、陣列方法、類別等概念,創造出更少代碼卻能做更多事情的程式,同時減少錯誤。
是時候撰寫乾淨且具表達性的 JavaScript 代碼了。現代 JavaScript 比以往更簡單、可預測且可讀。發現如何透過清晰的範例來撰寫更好的代碼,使用原則來展示更新的語法如何使代碼更好且錯誤更少。
從基礎開始,學習新的語法(或如何重用舊的語法),將代碼從笨重且易出錯的腳本轉變為清晰且優雅的程式,這些程式易於閱讀且易於擴展。
以簡單的變數宣告建立可讀代碼的基礎,減少副作用和微妙的錯誤。選擇具有明確目標的集合,而不是默認使用物件或陣列。了解如何簡化從複雜迴圈到單行陣列方法的迭代。掌握撰寫靈活且穩固代碼的技術,從高階函數、可重用類別到大型應用程式架構的模式,創建能夠在多次重構和變更需求中持久的應用程式。
最棒的是,無需從頭到尾閱讀這本書。隨意跳轉並隨意加入新功能。最重要的是,不僅要了解新語法是什麼,還要知道何時以及如何使用它。從第一頁開始撰寫更好的代碼。
你需要的:
為了獲得最佳體驗,請安裝最新版本的 Node(至少版本 7)。你可以在 Chrome 或其他現代網頁瀏覽器的控制台中測試大多數範例。如果你想運行測試,還需要安裝最新版本的 Node Package Manager(npm)。