coffeescript a-za-z
DESCRIPTION
CoffeeScript basicsTRANSCRIPT
![Page 1: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/1.jpg)
CoffeeScript
a-zA-Z
Artyom Trityakсуббота, 13 апреля 13 г.
![Page 2: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/2.jpg)
Meta language on top of JavaScript
WHAT
суббота, 13 апреля 13 г.
![Page 3: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/3.jpg)
Meta language on top of JavaScript
Compiling to JavaScript
WHAT
суббота, 13 апреля 13 г.
![Page 4: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/4.jpg)
Meta language on top of JavaScript
Compiling to JavaScript
^ so we can use all JavaScript libraries
WHAT
суббота, 13 апреля 13 г.
![Page 5: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/5.jpg)
Meta language on top of JavaScript
Compiling to JavaScript
^ so we can use all JavaScript libraries
Adds syntax sugar Python / Ruby like
WHAT
суббота, 13 апреля 13 г.
![Page 6: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/6.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
WHY
суббота, 13 апреля 13 г.
![Page 7: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/7.jpg)
Mistakes and hooks
суббота, 13 апреля 13 г.
![Page 8: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/8.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
WHY
суббота, 13 апреля 13 г.
![Page 9: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/9.jpg)
Code style
суббота, 13 апреля 13 г.
![Page 10: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/10.jpg)
Code style
суббота, 13 апреля 13 г.
![Page 11: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/11.jpg)
Code style
суббота, 13 апреля 13 г.
![Page 12: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/12.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
Write Less (Do More) ©
WHY
суббота, 13 апреля 13 г.
![Page 13: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/13.jpg)
Write Less
суббота, 13 апреля 13 г.
![Page 14: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/14.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
Write Less (Do More) ©
Huge community. From the box in Ruby on Rails
WHY
суббота, 13 апреля 13 г.
![Page 15: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/15.jpg)
Huge community
суббота, 13 апреля 13 г.
![Page 16: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/16.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
Write Less (Do More) ©
Huge community. From the box in Ruby on Rails
Open source (https://github.com/jashkenas/coffee-script)
WHY
суббота, 13 апреля 13 г.
![Page 17: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/17.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
Write Less (Do More) ©
Huge community. From the box in Ruby on Rails
Open source (https://github.com/jashkenas/coffee-script)
WHY
суббота, 13 апреля 13 г.
![Page 18: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/18.jpg)
суббота, 13 апреля 13 г.
![Page 19: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/19.jpg)
Avoid standard JS mistakes and hooks (like context, ===)
Single code style for long-term projects
Write Less (Do More) ©
Huge community. From the box in Ruby on Rails
Open source (https://github.com/jashkenas/coffee-script)
When you are coding CoffeeScript you feel yourself like Jedi
WHY
суббота, 13 апреля 13 г.
![Page 20: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/20.jpg)
BASICS
суббота, 13 апреля 13 г.
![Page 21: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/21.jpg)
Basic operations looks same
суббота, 13 апреля 13 г.
![Page 22: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/22.jpg)
Unnecessary parentheses
Oops...
суббота, 13 апреля 13 г.
![Page 23: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/23.jpg)
Necessary parentheses
суббота, 13 апреля 13 г.
![Page 24: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/24.jpg)
Necessary indentation
суббота, 13 апреля 13 г.
![Page 25: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/25.jpg)
Not, or and tadadam
суббота, 13 апреля 13 г.
![Page 26: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/26.jpg)
Functions, last return
суббота, 13 апреля 13 г.
![Page 27: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/27.jpg)
Functions, context, this
суббота, 13 апреля 13 г.
![Page 28: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/28.jpg)
Default arguments
суббота, 13 апреля 13 г.
![Page 29: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/29.jpg)
Splats...
суббота, 13 апреля 13 г.
![Page 30: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/30.jpg)
Splats... JS
суббота, 13 апреля 13 г.
![Page 31: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/31.jpg)
Arrays generators
суббота, 13 апреля 13 г.
![Page 32: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/32.jpg)
Cycles
суббота, 13 апреля 13 г.
![Page 33: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/33.jpg)
Classes
суббота, 13 апреля 13 г.
![Page 34: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/34.jpg)
Backbone
суббота, 13 апреля 13 г.
![Page 35: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/35.jpg)
OKAY. DEBUGGIN?
суббота, 13 апреля 13 г.
![Page 36: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/36.jpg)
Source Maps
суббота, 13 апреля 13 г.
![Page 37: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/37.jpg)
Source Maps
суббота, 13 апреля 13 г.
![Page 38: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/38.jpg)
Source Maps
суббота, 13 апреля 13 г.
![Page 39: CoffeeScript a-zA-Z](https://reader034.vdocuments.mx/reader034/viewer/2022042700/5564af44d8b42a3e618b4765/html5/thumbnails/39.jpg)
суббота, 13 апреля 13 г.