CoffeeScript: The Good Parts—Write Better javaScript

The good and not so good parts of CoffeeScript in comparison to JavaScript.
Free tutorial
Rating: 3.0 out of 5 (28 ratings)
3,409 students
1hr 2min of on-demand video
English [Auto]

Understand CoffeeScript syntax (semicolons, whitespace, parentheses)
Understand automatic var insertion mechanism and while manual var might be bad in native JavaScript
Use CoffeeScript conditions
Use CoffeeScript functions (fat and skinny arrow ones)
Use CoffeeScript classes
Use CoffeeScript arrays
Use CoffeeScript splats
Use CoffeeScript comprehensions


  • Basic JavaScript skills


The CoffeeScript is a language that was built on top of JavaScript. CoffeeScript has some added benefits and its code is compiled into native JavaScript for execution. The CoffeeScript pros include: better syntax, function and class construction patterns, automatic var insertion, comprehensions and others.

Most of these perks will be obvious once we take a look at some examples. This quick language reference can get you started with CoffeeScript:

  • Semicolons, Whitespace and Parentheses • Vars
  • Conditions
  • Functions
  • Classes
  • Arrays
  • Splats
  • Comprehensions

This course is prepared by the author of nine (9!) books on JavaScript and NodeJS. This course has video presentation as well as documents.

Who this course is for:

  • Front-end developers
  • Designers


Author of Apress books on Node&JS, Technology Fellow
Azat Mardan
  • 3.7 Instructor Rating
  • 413 Reviews
  • 26,171 Students
  • 6 Courses

Azat Mardan has over 12 years of experience in web, mobile and software development. With a Bachelor's Degree in Informatics and a Master of Science in Information Systems Technology degree, Azat possesses deep academic knowledge as well as extensive practical experience.

Currently, Azat works as Technology Fellow at Capital One Financial Corporation. Before that, Azat worked as a Team Lead / Senior Software Engineer at DocuSign, where his team rebuilds 50 million user product (DocuSign web app) using the tech stack of Nodejs, Expressjs, Backbonejs, CoffeeScript, Jade, Stylus and Redis.

Recently, he worked as an engineer at the curated social media news aggregator website, Storify dot com (acquired by LiveFyre) which is used by BBC, NBC, CNN, The White House and others. Storify runs everything on Nodejs unlike other companies. It's the maintainer of the open-source library jade-browser.

Before that, Azat worked as a CTO/co-founder at Gizmo — an enterprise cloud platform for mobile marketing campaigns, and has undertaken the prestigious 500 Startups business accelerator program.

Prior to this, Azat was developing he developed mission-critical applications for government agencies in Washington, DC, including the National Institutes of Health, the National Center for Biotechnology Information, and the Federal Deposit Insurance Corporation, as well as Lockheed Martin.

Azat is a frequent attendee at Bay Area tech meet-ups and hackathons (AngelHack hackathon '12 finalist with teamFashionMetric dot com).

In addition, Azat teaches technical classes at General Assembly, Hack Reactor, pariSOMA and Marakana (acquired by Twitter) to much acclaim.

In his spare time, he writes about technology on his blog: webapplog dot com which is number one in “expressjs tutorial" Google search results. Azat is also the author of Expressjs Guide, Rapid Prototyping with JS and Oh My JS; and the creator of open-source Nodejs projects, including ExpressWorks, mongoui and HackHall.

Top companies trust Udemy

Get your team access to Udemy's top 26,000+ courses