CoffeeScript in Action - Patrick Lee

CoffeeScript in Action

Patrick Lee

出版社

出版时间

2013-01-01

ISBN

9781617290626

评分

★★★★★

标签

web编程

书籍介绍

At the heart of JavaScript is a beautiful little language.

Unfortunately, that inner beauty is clouded with awkward syntax and structure. CoffeeScript is a new way to write JavaScript, providing Ruby-like readability and a more expressive syntax. It compiles into standard JavaScript and works on all implementations without modification.

CoffeeScript in Action is a tutorial that teaches you how, where, and why to use CoffeeScript. It begins by quickly exposing you to CoffeeScript's new, but instantly-familiar syntax. Then, you'll explore programming challenges that illustrate CoffeeScript's unique advantages. Language junkies will especially appreciate how this book takes idioms from other programming languages and shows you how CoffeeScript makes them available in JavaScript.

So why you should bother learning a new way to code JavaScript?

CoffeeScript preserves everything you know and love about JavaScript and wraps it in a modern, efficient syntax. It's perfect for complex web programming, including server-side JavaScript executing on Node.js. CoffeeScript also enhances JavaScript's natural Functional Programming features, a big advantage for building high-capacity, fault-tolerant applications. CoffeeScript is fully supported in Rails 3.1, and, via a free plugin, even Microsoft Visual Studio. Plus, it's really cool.

WHAT'S INSIDE

Complete coverage of CoffeeScript's syntax and structure

Examples illustrating best practices and patterns for web application development

Introduction to functional programming

Prototype-based OOP

This book is written for developers with exposure to JavaScript. No prior exposure to CoffeeScript is required.

目录
Table of Contents Resources
PART 1 FOUNDATIONS
1 The road to CoffeeScript - FREE
2 Syntax - AVAILABLE
3 Functions - AVAILABLE

显示全部
用户评论
nothing special or new
非常全面的一本书。第一部分是语法基础,从第二部分开始精彩起来了,各种精妙的函数式编程技巧非常开拓思维,值得细细琢磨体会。不得不说工作开始后读书明显慢下来,一本四百来页的书看了一个多月。虽然走得慢,但愿自己走得稳吧。
收藏