A Sip of CoffeeScript

Gregg Pollack (Envy Labs), Carlos Souza (Envy Labs)
Javascript & HTML5
Location: D136
Average rating: ****.
(4.58, 12 ratings)

Attendee prerequisites for this tutorial are listed below.

If you enjoy writing JavaScript then you’ll really enjoy CoffeeScript, a new language which transcompiles into CoffeeScript. Inspired by languages like Ruby, Python, and Haskell, it allows you to write less code to get more done. In this course students will learn the basics of CoffeeScript using the Code School in-browser challenge engine. In this course will cover the following topics:

  • Variables, functions, & the command line
  • Converting jQuery into CoffeeScript
  • Conditionals, operators, & comparisons
  • Arrays, objects, iteration, & list comprehension
  • More advanced jQuery into CoffeeScript
  • Object orientation, inheritance, fat arrow, & encapsulation

If you write any JavaScript as a developer, you may learn to love CoffeeScript.

TUTORIAL PREREQUISITES
This tutorial will be interactive combining live instructions with labs. Thus, you’ll want to bring along a laptop with working wifi and a power cord. A tablet will not work, and we recommend using the Chrome browser on our course.

Lastly, you’ll need to be comfortable with JavaScript to take this workshop, and a familiarity with jQuery will help as some of our examples will be on jQuery code. This course is an introduction to CoffeeScript, from the ground up. If you are already a CoffeeScript expert, it will likely bore you.

Really excited about meeting you at OSCON, and taking a sip of CoffeeScript.

QUESTIONS for the speaker?: Use the “Leave a Comment or Question” section at the bottom to address them.

Photo of Gregg Pollack

Gregg Pollack

Envy Labs

Gregg Pollack works at Envy Labs, where he works on Code School, produces the Ruby5 podcast, creates educational screencasts, and develops websites with Rails. He also runs the Ruby Hero Awards, organizes the Orlando Ruby Users Group, and is also sometimes known as the Ruby on Rails guy in the “Rails vs” commercials.

Photo of Carlos Souza

Carlos Souza

Envy Labs

Caike Souza is a software craftsman and metal guitarist

Comments on this page are now closed.

Comments

Jakob Lagerstedt
07/16/2012 1:17pm PDT

I have known about coffeescript and thought it would be applicable to a few projects. However, I have preiously never had the time to look into it. The focus of the tutorial was set on converting javascript into coffeescript which was exactly what I needed. The pacing was good and I feel I came away with having learnt something new.

Picture of Kevin Cole
Kevin Cole
07/14/2012 6:20am PDT

“If you enjoy writing JavaScript then you’ll really enjoy CoffeeScript, a new language which transcompiles into CoffeeScript.”

Wait a sec… CoffeeScript transcompiles into… CoffeeScript??? Typo? Javascript perhaps? Or is this just one of those recursive things I’ll never understand that make me curse, and then curse again, and then curse again…?

Picture of Carlos Souza
Carlos Souza
07/03/2012 11:10am PDT

Oh, and as far as using light table, that won’t be necessary. Our coding environment for this tutorial will be all in the browser, so all you need is a browser lik Chrome, Safari, Firefox recommended.

Picture of Carlos Souza
Carlos Souza
07/03/2012 11:07am PDT

Hi, John. You can check out the free jQuery course from CodeSchool.com That should give you enough jQuery knowledge for our CoffeeScript tutorial. Thanks and I will see you then!

John Goalby
07/03/2012 10:02am PDT

Can you suggest a pointer to a jQuery tutorial or article that would be sufficient grounding for the session? Also, curious if Lighttable (www.chris-granger.com/2012/...) could be used for the session?

Sponsors

For information on exhibition and sponsorship opportunities at the conference, contact Sharon Cordesse at (707) 827-7065 or scordesse@oreilly.com.

View a complete list of OSCON contacts