Coffee for “The Language of the Web”
Submitted by Veda Balan R (@vedab) on Sunday, 25 August 2013
Get on to CoffeeScript!
In addition, the learning curve for JS is very short and quick - within minutes, if you are familiar with programming languages; couple of hours, if you are a new programmer.
What are the pitfalls that we are talking about?
No structured programming.
OOP is not utilized properly.
Spaghetti type code, even after using JQuery like libraries.
Style guide does not exist for most JS developers.
Lack of proper knowledge about ‘scope’ and ‘prototype’ creates fatal issues.
Similarly, lack of interest or knowledge on optimizing JS code.
How to alleviate?
Now, let us have some Coffee - CoffeeScript!
CoffeeScript elegantly expresses and accentuates the Good parts of JS and smoothens out some of the Bad parts, all via the Ruby way of programming. CoffeeScript (CS) can indeed turn out to be a rescuer for a JS developer time and again. This presentation will discuss and highlight the necessity and the benefits of CoffeeScript, with illustrated example.