Closing Words

In this chapter, we’ve taken our simple project and added the basic tests needed to prevent regressions as our code is updated and new features are added. With unit tests on the front end that mock the back end and vice versa, we have the makings of a robust, maintainable, and lightning-fast set of tests.

And that’s important, because it’s not enough to just use CoffeeScript to build web applications faster. I think it behooves us, as CoffeeScript devs, to use that time we don’t spend wrangling curly braces to make our apps better—to write web apps with useful features, great design, and solid engineering under it all. Our apps should be malleable in the face of change and tough in the face of attacks.

Congratulations on reaching ...

Get CoffeeScript, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.