I have noticed a lot of buzz among new developers who are interested in CoffeeScript. So, I set out to create this post where I will briefly introduce CoffeeScript and tell you a little bit about it, what its best assets are and who it is best for. I hope that this post will give you a general idea about this language and let you decide if this is perhaps something for you – or not for that matter.
What is CoffeeScript, exactly?
How does it differ?
Below are pieces of a chart taken right from CoffeeScript’s website which shows you the differences between the two languages at the basic level.
The most notable aspect of CoffeeScript is its lack of semicolons or braces. This is very much like Ruby and Python which is why the developers from those communities are fond of CoffeeScript. This obvious simplification contributes greatly to writing less code. Getting rid of this visual clutter is just heavenly and one of the biggest factors people enjoy about using CoffeeScript. Additionally, CoffeeScript actually adds keywords, classes and features – such as heredocs – which make coding easier. I cannot stress enough how CoffeeScript is truly about efficiency.
Who is CoffeeScript for?
At the end of the day it doesn’t matter what others say it matters if you yourself prefer CoffeeScript. I hope this post was a good introduction to what CoffeeScript is all about and that you have a pretty decent idea whether or not this language is something for you.