CoffeeScript: A beginner's presentation for beginners copy

A short presentation on CoffeeScript for people who may not have much, or any, experience with it. It is a great way to learn JavaScript, as well as a fantastic syntactic sugar fro those who already know JavaScript.

Transcript of "CoffeeScript: A beginner's presentation for beginners copy"

1.
Intro to CoffeeScript
A beginner’s presentation for beginners

2.
Don’t I have to be a JSWiz?
Not even close. (But it does help)
Developer/Designer/Unicorn
Little Experience required
Simple syntax
Better transition from other language patterns
Some cool points
- Classes
- No semicolons (YAY!)
- Commas optional
- Arrow function notation

3.
What is CoffeeScript?
CoffeeScript is an alternate syntax that compiles into Javascript. According to
the author, it is an ‘attempt to expose the good parts of JavaScript in a
simple way.
Popularity
CoffeeScript has gained much popularity since it’s inception as a GitHub gist in
2009. It has become the ‘x’-script of choice for some projects you might
have heard of, including Dropbox and GitHub, as well as many other
projects you’ve never heard of.
Usage
The widespread usage across many web apps makes this language a ‘should
do’ for any designer or developer. Even if you don’t decide to use it, you will
most likely come across it in a future project. So, DTRT and learn a thing-or-
two.

8.
Now what?
Let’s play around with some ideas.
JavaScript, as of EC5, doesn’t have defined class structures and is mostly a
functional, object-oriented language. “But,” I can hear some protest, “you
can use things like Traceur and the EC6 Module Transpiler to write
JavaScript with classes and other new constructs available in Ecmascript 6.”
Well. If you’re using those things, awesome. Even you can benefit from CS!