Enviar búsqueda
Cargar
Coffeescript - what's good
•
3 recomendaciones
•
1,195 vistas
JeongHun Byeon
Seguir
JS
Leer menos
Leer más
Viajes
Denunciar
Compartir
Denunciar
Compartir
1 de 59
Descargar ahora
Descargar para leer sin conexión
Recomendados
Angular Tutorial Freshers and Experienced
Angular Tutorial Freshers and Experienced
rajkamaltibacademy
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & Tricks
Hjörtur Hilmarsson
HTML,CSS Next
HTML,CSS Next
지수 윤
Backbone.js — Introduction to client-side JavaScript MVC
Backbone.js — Introduction to client-side JavaScript MVC
pootsbook
Sexy.js: A Sequential Ajax (Sajax) library for jQuery
Sexy.js: A Sequential Ajax (Sajax) library for jQuery
Dave Furfero
Tinkerbelles return home from their Guinness world-record attempt on Sunday
Tinkerbelles return home from their Guinness world-record attempt on Sunday
chicagonewsyesterday
Mad Max is back, plus the rest of our new reviews and notable screenings
Mad Max is back, plus the rest of our new reviews and notable screenings
chicagonewsonlineradio
Bare-knuckle web development
Bare-knuckle web development
Johannes Brodwall
Recomendados
Angular Tutorial Freshers and Experienced
Angular Tutorial Freshers and Experienced
rajkamaltibacademy
Javascript MVC & Backbone Tips & Tricks
Javascript MVC & Backbone Tips & Tricks
Hjörtur Hilmarsson
HTML,CSS Next
HTML,CSS Next
지수 윤
Backbone.js — Introduction to client-side JavaScript MVC
Backbone.js — Introduction to client-side JavaScript MVC
pootsbook
Sexy.js: A Sequential Ajax (Sajax) library for jQuery
Sexy.js: A Sequential Ajax (Sajax) library for jQuery
Dave Furfero
Tinkerbelles return home from their Guinness world-record attempt on Sunday
Tinkerbelles return home from their Guinness world-record attempt on Sunday
chicagonewsyesterday
Mad Max is back, plus the rest of our new reviews and notable screenings
Mad Max is back, plus the rest of our new reviews and notable screenings
chicagonewsonlineradio
Bare-knuckle web development
Bare-knuckle web development
Johannes Brodwall
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
Guy Royse
Crossing platforms with JavaScript & React
Crossing platforms with JavaScript & React
Robert DeLuca
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
chicagonewsonlineradio
Less ismorewithcoffeescript webdirectionsfeb2012
Less ismorewithcoffeescript webdirectionsfeb2012
Jo Cranford
Nodejs do teste de unidade ao de integração
Nodejs do teste de unidade ao de integração
Vinícius Pretto da Silva
jQuery 1.7 Events
jQuery 1.7 Events
dmethvin
DOM Scripting Toolkit - jQuery
DOM Scripting Toolkit - jQuery
Remy Sharp
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Valdis Iljuconoks
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
Eyal Vardi
AngularJS Services
AngularJS Services
Eyal Vardi
AngularJS $http Interceptors (Explanation and Examples)
AngularJS $http Interceptors (Explanation and Examples)
Brian Swartzfager
Frontin like-a-backer
Frontin like-a-backer
Frank de Jonge
Optimizing Angular Performance in Enterprise Single Page Apps
Optimizing Angular Performance in Enterprise Single Page Apps
Morgan Stone
Discontinuing Reader Matches
Discontinuing Reader Matches
chicagonewsonlineradio
Angular.js Fundamentals
Angular.js Fundamentals
Mark
Building Go Web Apps
Building Go Web Apps
Mark
Why (I think) CoffeeScript Is Awesome
Why (I think) CoffeeScript Is Awesome
Jo Cranford
KISS Automation.py
KISS Automation.py
Iakiv Kramarenko
HTML5 & The Open Web - at Nackademin
HTML5 & The Open Web - at Nackademin
Robert Nyman
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
Rafael Felix da Silva
JQuery Flot
JQuery Flot
Arshavski Alexander
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
Ben Teese
Más contenido relacionado
La actualidad más candente
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
Guy Royse
Crossing platforms with JavaScript & React
Crossing platforms with JavaScript & React
Robert DeLuca
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
chicagonewsonlineradio
Less ismorewithcoffeescript webdirectionsfeb2012
Less ismorewithcoffeescript webdirectionsfeb2012
Jo Cranford
Nodejs do teste de unidade ao de integração
Nodejs do teste de unidade ao de integração
Vinícius Pretto da Silva
jQuery 1.7 Events
jQuery 1.7 Events
dmethvin
DOM Scripting Toolkit - jQuery
DOM Scripting Toolkit - jQuery
Remy Sharp
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
Valdis Iljuconoks
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
Eyal Vardi
AngularJS Services
AngularJS Services
Eyal Vardi
AngularJS $http Interceptors (Explanation and Examples)
AngularJS $http Interceptors (Explanation and Examples)
Brian Swartzfager
Frontin like-a-backer
Frontin like-a-backer
Frank de Jonge
Optimizing Angular Performance in Enterprise Single Page Apps
Optimizing Angular Performance in Enterprise Single Page Apps
Morgan Stone
Discontinuing Reader Matches
Discontinuing Reader Matches
chicagonewsonlineradio
Angular.js Fundamentals
Angular.js Fundamentals
Mark
Building Go Web Apps
Building Go Web Apps
Mark
Why (I think) CoffeeScript Is Awesome
Why (I think) CoffeeScript Is Awesome
Jo Cranford
KISS Automation.py
KISS Automation.py
Iakiv Kramarenko
HTML5 & The Open Web - at Nackademin
HTML5 & The Open Web - at Nackademin
Robert Nyman
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
Rafael Felix da Silva
La actualidad más candente
(20)
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
jQuery & 10,000 Global Functions: Working with Legacy JavaScript
Crossing platforms with JavaScript & React
Crossing platforms with JavaScript & React
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
Before there was Hoop Dreams, there was McDonald's: Strange and Beautiful
Less ismorewithcoffeescript webdirectionsfeb2012
Less ismorewithcoffeescript webdirectionsfeb2012
Nodejs do teste de unidade ao de integração
Nodejs do teste de unidade ao de integração
jQuery 1.7 Events
jQuery 1.7 Events
DOM Scripting Toolkit - jQuery
DOM Scripting Toolkit - jQuery
Knockoutjs UG meeting presentation
Knockoutjs UG meeting presentation
AngularJS - $http & $resource Services
AngularJS - $http & $resource Services
AngularJS Services
AngularJS Services
AngularJS $http Interceptors (Explanation and Examples)
AngularJS $http Interceptors (Explanation and Examples)
Frontin like-a-backer
Frontin like-a-backer
Optimizing Angular Performance in Enterprise Single Page Apps
Optimizing Angular Performance in Enterprise Single Page Apps
Discontinuing Reader Matches
Discontinuing Reader Matches
Angular.js Fundamentals
Angular.js Fundamentals
Building Go Web Apps
Building Go Web Apps
Why (I think) CoffeeScript Is Awesome
Why (I think) CoffeeScript Is Awesome
KISS Automation.py
KISS Automation.py
HTML5 & The Open Web - at Nackademin
HTML5 & The Open Web - at Nackademin
Aplicacoes dinamicas Rails com Backbone
Aplicacoes dinamicas Rails com Backbone
Similar a Coffeescript - what's good
JQuery Flot
JQuery Flot
Arshavski Alexander
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
Ben Teese
Asynchronous Interfaces
Asynchronous Interfaces
maccman
Progressive Enhancment with Rails and React
Progressive Enhancment with Rails and React
Tyler Johnston
jQuery - 10 Time-Savers You (Maybe) Don't Know
jQuery - 10 Time-Savers You (Maybe) Don't Know
girish82
Real life-coffeescript
Real life-coffeescript
David Furber
Cheap frontend tricks
Cheap frontend tricks
ambiescent
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
Nico Miceli
Big Data for each one of us
Big Data for each one of us
OSCON Byrum
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
jhchabran
Crie seu sistema REST com JAX-RS e o futuro
Crie seu sistema REST com JAX-RS e o futuro
Guilherme Silveira
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and Performance
Jonas De Smet
JavaScript on Rails 튜토리얼
JavaScript on Rails 튜토리얼
Sukjoon Kim
JQuery Presentation
JQuery Presentation
Sony Jain
J query training
J query training
FIS - Fidelity Information Services
Why is crud a bad idea - focus on real scenarios
Why is crud a bad idea - focus on real scenarios
Divante
Jsp Notes
Jsp Notes
Rajiv Gupta
WordPress Realtime - WordCamp São Paulo 2015
WordPress Realtime - WordCamp São Paulo 2015
Fernando Daciuk
Javascript first-class citizenery
Javascript first-class citizenery
toddbr
Building Large jQuery Applications
Building Large jQuery Applications
Rebecca Murphey
Similar a Coffeescript - what's good
(20)
JQuery Flot
JQuery Flot
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
The Return of JavaScript: 3 Open-Source Projects that are driving JavaScript'...
Asynchronous Interfaces
Asynchronous Interfaces
Progressive Enhancment with Rails and React
Progressive Enhancment with Rails and React
jQuery - 10 Time-Savers You (Maybe) Don't Know
jQuery - 10 Time-Savers You (Maybe) Don't Know
Real life-coffeescript
Real life-coffeescript
Cheap frontend tricks
Cheap frontend tricks
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
Some Advanced Tracking in Google Analytics in 5 mins - PhillyJS meet up
Big Data for each one of us
Big Data for each one of us
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
Crie seu sistema REST com JAX-RS e o futuro
Crie seu sistema REST com JAX-RS e o futuro
jQuery: Tips, tricks and hints for better development and Performance
jQuery: Tips, tricks and hints for better development and Performance
JavaScript on Rails 튜토리얼
JavaScript on Rails 튜토리얼
JQuery Presentation
JQuery Presentation
J query training
J query training
Why is crud a bad idea - focus on real scenarios
Why is crud a bad idea - focus on real scenarios
Jsp Notes
Jsp Notes
WordPress Realtime - WordCamp São Paulo 2015
WordPress Realtime - WordCamp São Paulo 2015
Javascript first-class citizenery
Javascript first-class citizenery
Building Large jQuery Applications
Building Large jQuery Applications
Más de JeongHun Byeon
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
JeongHun Byeon
오픈소스에 기여할 때 알면 좋을 개발 프로세스
오픈소스에 기여할 때 알면 좋을 개발 프로세스
JeongHun Byeon
DevOps를 가속화하는 플랫폼 엔지니어링
DevOps를 가속화하는 플랫폼 엔지니어링
JeongHun Byeon
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
JeongHun Byeon
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
JeongHun Byeon
Citizen 개발기
Citizen 개발기
JeongHun Byeon
오픈소스 뒤에 메인테이너 있어요
오픈소스 뒤에 메인테이너 있어요
JeongHun Byeon
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
JeongHun Byeon
Lessons from maintaining Mocha, an open source project
Lessons from maintaining Mocha, an open source project
JeongHun Byeon
개발 관련 기술 블로그 운영하기
개발 관련 기술 블로그 운영하기
JeongHun Byeon
Terraform을 이용한 Infrastructure as Code 실전 구성하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
JeongHun Byeon
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자(자막 버전)
JeongHun Byeon
오픈소스 생태계 일원으로서의 개발자
오픈소스 생태계 일원으로서의 개발자
JeongHun Byeon
Node.js API 서버 성능 개선기
Node.js API 서버 성능 개선기
JeongHun Byeon
더 나은 개발자 되기
더 나은 개발자 되기
JeongHun Byeon
블로그 주도 개발
블로그 주도 개발
JeongHun Byeon
Front-end Development Process - 어디까지 개선할 수 있나
Front-end Development Process - 어디까지 개선할 수 있나
JeongHun Byeon
Node.js 현재와 미래
Node.js 현재와 미래
JeongHun Byeon
Nodejs Production 적용기
Nodejs Production 적용기
JeongHun Byeon
Sublime Text tips & trikcs
Sublime Text tips & trikcs
JeongHun Byeon
Más de JeongHun Byeon
(20)
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
당근 개발자 플랫폼은 어떤 문제를 해결하고 있는가?
오픈소스에 기여할 때 알면 좋을 개발 프로세스
오픈소스에 기여할 때 알면 좋을 개발 프로세스
DevOps를 가속화하는 플랫폼 엔지니어링
DevOps를 가속화하는 플랫폼 엔지니어링
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
클라우드 시대에 맞는 사이트 신뢰성 엔지니어
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
디자인에 이어 코딩까지 AI가 프로그램 개발을 척척? : GitHub Copilot, 어디까지 알아보셨나요
Citizen 개발기
Citizen 개발기
오픈소스 뒤에 메인테이너 있어요
오픈소스 뒤에 메인테이너 있어요
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
오픈소스에 기여할 때 해도 되는 일과 하면 안되는 일
Lessons from maintaining Mocha, an open source project
Lessons from maintaining Mocha, an open source project
개발 관련 기술 블로그 운영하기
개발 관련 기술 블로그 운영하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
Terraform을 이용한 Infrastructure as Code 실전 구성하기
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자(자막 버전)
오픈소스 생태계 일원으로서의 개발자
오픈소스 생태계 일원으로서의 개발자
Node.js API 서버 성능 개선기
Node.js API 서버 성능 개선기
더 나은 개발자 되기
더 나은 개발자 되기
블로그 주도 개발
블로그 주도 개발
Front-end Development Process - 어디까지 개선할 수 있나
Front-end Development Process - 어디까지 개선할 수 있나
Node.js 현재와 미래
Node.js 현재와 미래
Nodejs Production 적용기
Nodejs Production 적용기
Sublime Text tips & trikcs
Sublime Text tips & trikcs
Último
💕📲09602870969💓Girl Escort Services Udaipur Call Girls in Chittorgarh Haldighati
💕📲09602870969💓Girl Escort Services Udaipur Call Girls in Chittorgarh Haldighati
Apsara Of India
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Call Girls Service !! Indirapuram!! @9999965857 Delhi 🫦 No Advance VVVIP 🍎 S...
Call Girls Service !! Indirapuram!! @9999965857 Delhi 🫦 No Advance VVVIP 🍎 S...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
Hire 💕 8617697112 Champawat Call Girls Service Call Girls Agency
Hire 💕 8617697112 Champawat Call Girls Service Call Girls Agency
Nitya salvi
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236
Sherazi Tours
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
Delhi Call girls
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptx
seribangash
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men
Delhi Call girls
Top 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptx
dishha99
DARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda Bux
BeEducate
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
Call Girls In Delhi Whatsup 9873940964 Enjoy Unlimited Pleasure
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
Sherazi Tours
🔥HOT🔥📲9602870969🔥Prostitute Service in Udaipur Call Girls in City Palace Lake...
🔥HOT🔥📲9602870969🔥Prostitute Service in Udaipur Call Girls in City Palace Lake...
Apsara Of India
best weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdf
tour guide
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
Kibera Holiday Safaris Safaris
08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking Men
Delhi Call girls
char Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptx
palakdigital7
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236
Sherazi Tours
Genesis 1:6 || Meditate the Scripture daily verse by verse
Genesis 1:6 || Meditate the Scripture daily verse by verse
maricelcanoynuay
Último
(20)
💕📲09602870969💓Girl Escort Services Udaipur Call Girls in Chittorgarh Haldighati
💕📲09602870969💓Girl Escort Services Udaipur Call Girls in Chittorgarh Haldighati
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 18 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Call Girls Service !! Indirapuram!! @9999965857 Delhi 🫦 No Advance VVVIP 🍎 S...
Call Girls Service !! Indirapuram!! @9999965857 Delhi 🫦 No Advance VVVIP 🍎 S...
Hire 💕 8617697112 Champawat Call Girls Service Call Girls Agency
Hire 💕 8617697112 Champawat Call Girls Service Call Girls Agency
Study Consultants in Lahore || 📞03094429236
Study Consultants in Lahore || 📞03094429236
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
Call Girls Service !! New Friends Colony!! @9999965857 Delhi 🫦 No Advance VV...
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
08448380779 Call Girls In Bhikaji Cama Palace Women Seeking Men
BERMUDA Triangle the mystery of life.pptx
BERMUDA Triangle the mystery of life.pptx
08448380779 Call Girls In Shahdara Women Seeking Men
08448380779 Call Girls In Shahdara Women Seeking Men
Top 10 Traditional Indian Handicrafts.pptx
Top 10 Traditional Indian Handicrafts.pptx
DARK TRAVEL AGENCY presented by Khuda Bux
DARK TRAVEL AGENCY presented by Khuda Bux
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
Call Girls 🫤 Connaught Place ➡️ 9999965857 ➡️ Delhi 🫦 Russian Escorts FULL ...
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
visa consultant | 📞📞 03094429236 || Best Study Visa Consultant
🔥HOT🔥📲9602870969🔥Prostitute Service in Udaipur Call Girls in City Palace Lake...
🔥HOT🔥📲9602870969🔥Prostitute Service in Udaipur Call Girls in City Palace Lake...
best weekend places near delhi where you should visit.pdf
best weekend places near delhi where you should visit.pdf
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
9 Days Kenya Ultimate Safari Odyssey with Kibera Holiday Safaris
08448380779 Call Girls In Chhattarpur Women Seeking Men
08448380779 Call Girls In Chhattarpur Women Seeking Men
char Dham yatra, Uttarakhand tourism.pptx
char Dham yatra, Uttarakhand tourism.pptx
Visa Consultant in Lahore || 📞03094429236
Visa Consultant in Lahore || 📞03094429236
Genesis 1:6 || Meditate the Scripture daily verse by verse
Genesis 1:6 || Meditate the Scripture daily verse by verse
Coffeescript - what's good
1.
CoffeeScript
What’s good? 2010.10.10 OutsideratFRENDS
2.
“
CoffeeScriptisBeautiful INeverWanttoWritePlain ” JavaScriptAgain SamStephenson (prototype.jscreator)
3.
좋은것과 익숙하지 않은것을 구별하기가 쉽지않다.
4.
Comparing JavaScriptCoffeeScript
5.
FunctionSyntax
6.
$(a).click(function(event){ $(this).addClass(busy); })
7.
$(a).click(function(event){ $(this).addClassbusy })
8.
$(a).click(function(event){ $(@).addClassbusy })
9.
$(a).click(event)- $(@).addClassbusy
10.
LoopSyntax
11.
vardata=[]; for(vari=0;i84;i++){ data.push(i*10/84); }
12.
data=[] foriin[0..83] data.push(i*10/84)
13.
data=[] data=i*10/84foriin[0..83]
14.
data=i*10/84foriin[0..83]
15.
List Comprehensions
16.
init_board:function(){ this.board=newArray(WIDTH); for(varx=0;xthis.board.length;x++){ this.board[x]=newArray(HEIGHT) for(vary=0;ythis.board[x].length;y++){ this.board[x][y]=false; } } }
17.
init_board:- this.board=newArray(WIDTH) forxinthis.board this.board[x]=newArray(HEIGHT) foryinthis.board[x] this.board[x][y]=false
18.
init_board:- @board=forxin[0...WIDTH] this.board[x]=newArray(HEIGHT) foryinthis.board[x] this.board[x][y]=false
19.
init_board:- @board=forxin[0...WIDTH] foryin[0...HEIGHT] false
20.
init_board:- @board= (falseforyin[0...HEIGHT]forxin[0...WIDTH])
21.
SettingFields
22.
constructor:function(keys,tokens){ this.keys=keys; this.tokens=tokens; }
23.
constructor:(keys,tokens)- this.keys=keys this.tokens=tokens
24.
constructor:(keys,tokens)- @keys=keys @tokens=tokens
25.
constructor:(@keys,@tokens)-
26.
Defensive Programming
27.
varcountry=null; if(typeofmodel!=='undefined' model typeofmodel.profile==='function'){ varprofile=model.profile(); if(profile profile.location profile.location.country){ country=profile.location.country.toString(); } }
28.
country=null iftypeofmodelisnt'undefined' model typeofmodel.profileis'function' profile=model.profile() ifprofile profile.location profile.location.country country=profile.location.country.toString()
29.
country=null iftypeofmodelisnt'undefined' model typeofmodel.profileis'function' profile=model.profile() ifprofile profile.location country=profile.location.country?.toString()
30.
country=null iftypeofmodelisnt'undefined' model typeofmodel.profileis'function' profile=model.profile() ifprofile country=profile.location?.country?.toString()
31.
country=null iftypeofmodelisnt'undefined' model typeofmodel.profileis'function' profile=model.profile() country=profile?.location?.country?.toString()
32.
country=null iftypeofmodelisnt'undefined' model profile=model.profile?()? country=profile?.location?.country?.toString()
33.
country=null profile=model?.profile?()? country=profile?.location?.country?.toString()
34.
profile=model?.profile?()? country=profile?.location?.country?.toString()
35.
profile=model?.profile?()? country=profile ?.location?.country?.toString()
36.
country=model?.profile?() ?.location?.country?.toString()
37.
BareObjects
38.
$.ajax({ url:path, timeout:5, data:{from:workspace}, dataType:html, success:function(data){ return$(#result).html(data); } });
39.
$.ajax({ url:path, timeout:5, data:{from:workspace}, dataType:html, success:(data)- return$(#result).html(data) })
40.
$.ajax{ url:path timeout:5 data:{from:workspace} dataType:html success:(data)- $(#result).htmldata }
41.
$.ajax url:path timeout:5 data: from:workspace dataType:html success:(data)- $(#result).htmldata
42.
FunctionBinding
43.
functionrequest(){ $.get(this.person.url, (function(data){ $(this.el).html(data); }).bind(this) ) }
44.
request=()- $.get(this.person.url, ((data)- $(this.el).html(data); ).bind(this) )
45.
request=()- $.get(this.person.url, ((data)- $(@el).htmldata ).bind(@) )
46.
request=()- $.get(this.person.url, (data)= $(@el).htmldata )
47.
request=()- $.getthis.person.url, (data)= $(@el).htmldata
48.
BadThings
49.
Compile
is inconvenience
50.
Debugging
is hard
51.
But It’sComing
52.
ShortSourceMap
Demo http://www.youtube.com/watch?v=UAGAB-yT0lQ
53.
ToolsforCoffeeScript
54.
js2coffee convertJavaScripttoCoffeeScript http://js2coffee.org/
55.
CoffeeTable BookmarkletforCoffeeScriptConsole http://code.alecperkins.net/coffeetable/
56.
cake SimpleBuildSystemlikeMake https://github.com/jashkenas/coffee-script/wiki/[HowTo]-Compiling-and-Setting-Up-Build-Tools
57.
CoffeeKup MarkupasCoffeeScript http://coffeekup.org/
58.
Thankyou.
@Outsideris outsideris@gmail.com http://blog.outsider.ne.kr
59.
Resources http://www.flickr.com/photos/41754875@N00/5942994577 http://www.flickr.com/photos/61172365@N00/481680379
Descargar ahora