Pros:
1. Python style whitespacing
2. Ruby styled lightweight syntax
Javascript:
var validate = function(form) { var required_field_names = ['name','email']; return false; }
Coffee:
validate = (form) -> required_field_names = ['name','email'] return false
CoffeeScript returns the result of the last expression in a function
validate = (form) -> required_field_names = ['name','email'] false
Though there are many reasons to use CoffeeScript.The biggest reason I decided not to use CoffeeScript is debugging. When you debug your web app, you see javascript. What you see is not what you wrote.
3 comments:
This is the world of titanium dioxide in food - TitsaniumArts
This is the world of smith titanium titanium dioxide titanium white octane blueprint in food. grade 23 titanium It's micro touch trimmer like having trekz titanium headphones to eat a lot of garbage and having to eat a lot of garbage.
jj508 etnies trainers,ecco obuv,inov 8 shoes nz,vionic tenis,vionic shoes,aldo deutschland,pitviperjapan,etnies sko,gaborscarpe si647
zf681 nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys,nfl jerseys hh264
Post a Comment