Smooth CoffeeScript Web Optimized.pdf

(1998 KB) Pobierz
887372505.001.png
Smooth CoffeeScript
E. Hoigaard
An introduction to CoffeeScript programming with
an emphasis on clarity, abstraction and verification.
The book is freely available, and may be used (as a whole or in parts)
in any way you see fit, as long as credit is given to the original author.
Typeset in L Y X / XeT E X with
Arcitectura
.
1 st edition, 3 rd revision & illustrations © 2554 BE / 2011 CE .
Contents
Preface
5
Foreword
6
Software
9
Language
11
Introduction
12
Basic CoffeeScript
19
Functions
42
Data Structures
57
Error Handling
82
Paradigm
89
Functional Programming
90
Searching
115
Object Orientation
137
Regular Expressions
153
Modularity
161
3
Contents
Appendix
179
Language Extras
180
Binary Heaps
185
Performance
192
Command Line Utility
194
Reference and Index
197
Reference
198
Index
211
4
Zgłoś jeśli naruszono regulamin