Want to receive a weekly email containing
the scoop on our new titles along with the
occasional special offer? Just click the button.
(You can always unsubscribe later by editing your
account information).

Give us an email and a password (you can use the password later to log in and
change your preferences). We'll send you a newsletter roughly once a week.

CoffeeScript: Accelerated JavaScript Development

by Trevor Burnham

The chart shows the approximate number of words in each chapter of CoffeeScript per week. The latest numbers are highlighted—mouse over prior weeks to see their figures.

CoffeeScript is JavaScript done right. It provides all of JavaScript’s functionality wrapped in a cleaner, more succinct syntax. In the first book on this exciting new language, CoffeeScript guru Trevor Burnham shows you how to hold onto all the power and flexibility of JavaScript while writing clearer, cleaner, and safer code.

Out of Print

This book is currently out of print.

About this Book

160 pages

Published: 2011-07-25

Release: P1.0 (2011-07-25)

ISBN: 978-1-93435-678-4

CoffeeScript: Accelerated JavaScript Development offers a thorough introduction to this new language, starting from the basics. You’ll learn to use time-saving features like list comprehensions and splats, organize your code into modules with extensible classes, and see how to deploy your work to multiple environments. Each chapter is example-driven and includes challenging exercises to push your CoffeeScript know-how further.

Through the course of the book, you’ll build a fast-paced multiplayer word game‚ writing both the client (with jQuery) and server (with Node.js) in CoffeeScript. And because the two languages are so deeply intertwined, you’ll deepen your understanding of JavaScript along the way.

CoffeeScript makes it easier than ever to write powerful, standards-compliant JavaScript code. This book lets you start doing it today.

David Heinemeier Hansson, Creator, Rails, says:

“It’s hard to imagine a new web application today that doesn’t make heavy use of JavaScript, but if you’re used to something like Ruby, it feels like a significant step down to deal with JavaScript, more of a chore than a joy. Enter CoffeeScript: a pre-compiler that removes all the unnecessary verbosity of JavaScript and simply makes it a pleasure to write and read. Go, go, Coffee! This book is a great introduction to the world of CoffeeScript.”

Brendan Eich, Creator, JavaScript says:

“This book helps readers become better JavaScripters in the process of learning CoffeeScript. What’s more, it’s a blast to read, especially if you are new to CoffeeScript and ready to learn.”

“CoffeeScript: Accelerated JavaScript Development is an excellent guide to CoffeeScript from one of the community’s most esteemed members. It’ll help you get up to speed with the language in no time, whether you write code that runs in the browser or on the server. Trevor’s book belongs on every CoffeeScript developer’s shelf.”

About the Author

Trevor Burnham is a full-stack web developer with a passion for new technologies. He is the founder of DataBraid, a startup developing data analysis and visualization tools that support remote collaboration. When on Twitter, he goes by @TrevorBurnham and @CoffeeScript. When offline, he’s usually in Cambridge, MA.

Comments and Reviews

Fasten your seat belt and enjoy the ride with Trevor Burnham from JavaScript
to CoffeeScript and have fun with web development again.

CoffeeScript is one of the most interesting developments in the world of programming
languages in the last few years. Taking the lessons learned over the last
decade from languages like Ruby and Python, it is a language with immense expressive
power. “CoffeeScript: Accelerated JavaScript Development” is your guide to
this new language and a must-read for those interested in being productive in
JavaScript.

—Travis SwicegoodAuthor, "Pragmatic Version Control Using Git"

CoffeeScript may turn out to be one of the great innovations in web application
development; since I first discovered it, I’ve never had to write a line of pure
JavaScript. I hope the readers of this wonderful book will be able to say the same.

—Dr. Nic WilliamsCEO/FounderMocra

Though CoffeeScript is a new language, you can already find it almost everywhere.
This book will show you just how powerful and fun CoffeeScript can be.

—Stan AngeloffManaging DirectorPSP WebTech Bulgaria

Just like CoffeeScript itself, Trevor gets straight to the point and shows you the
benefits of CoffeeScript and how to write concise, clear CoffeeScript code.