“Hands On Erlang” Recap

Posted: February 8th, 2009 | Author: kevin | Filed under: Erlang, Talks | View Comments

I’d like to thank Jason, Mark, Chris, Brenton, Ryan, James, and Brad for having the faith and courage to be my guinea pigs for the course. This is the first time I’ve a) taught an Erlang course and b) written this material from scratch so I was a little nervous before class started.

My nervousness quickly left as we dug into the material. The group brought a lot of interest and enthusiasm which made my job as instructor 1000% easier. I’d made the decision to do lots and lots of labs to get students coding as quickly as possible. This seemed to work well, for the most part, and helped solidify concepts for all.

On the first day we covered:

  • Review of Erlang
  • Concurrency & Message Passing
  • Distributed Erlang
  • Writing Servers
  • Using A Server Framework
  • Using gen_server
  • Using supervisors

1-3 programming labs followed each section so that should give some idea how hard the class worked.

Chris Williams’ tweet on the first day summed it up well: “hands on erlang. list comprehensions at 8am makes my brain hurt.” :)

Whew! I had originally planned to stop after gen_server but the class was eager to move on so we tackled supervisors as well. Friday evening we went out for drinks and dinner at Milltown, a very cool restaurant with a slight Belgian theme. Many strange and wonderful Belgian beers were enjoyed by all!

The focus of the second day turned to more practical topics:

  • Unit Testing w/eunit
  • Web Programming w/mochiweb
  • Getting Some REST w/webmachine
  • mnesia Overview

Energy levels were down a bit from the first day. I chalk it up to the pace of the first day and the number of beers consumed the night before. The second day went off without a hitch with the exception of some strange behavior a couple of students triggered in webmachine. I think webmachine is fussy about the formatting of POST bodies but I need to dig into the code a bit to be sure.

Here’s a couple of pictures I took on the second day as the class was working on some of the coding labs:

  

I’d like to thank Brian Russell of Carrboro Creative Coworking for providing the venue and taking care of all the little details. CCC is a great place to put on training for smaller classes and working with Brian was awesome!


  • Are you planning on giving a course any time in the future? I loved your pragmatic programmer screencasts, and now I really would like to take a short course from you or another erlang guru-if you're aware of such an offering. THanks again for a wonderful screencast series!
  • Thank you Kevin! The class was a great way to dive right into Erlang. The lab portions of the class (~ 60% of the class) were great.

    Of course your wife's toffee was the real kicker!
  • Everyone had at least some exposure to Erlang prior to attending. In fact, I made it a course requirement for students to be able to read and write simple sequential Erlang programs before attending. If you'd made it thru the first 4 chapters of Joe's book, you'd be good to go.

    Yep, lots of Macs at the class. And the one PC was running Fedora, so no Windows at all.
  • Great having you here. You did a wonderful job. I think everyone left feeling like they got their monies worth and are much smarter!
  • Wow, that's quite a lot to cover in two days! Did your audience know Erlang beforehand?

    And is that a 6:1 Mac:PC ratio? Reminds me of these images:
    http://www.webthingsconsidered.com/2007/11/18/c...
  • Russell Jurney
    I really wanted to make this, but since I'd have to pay personally I can't really afford $620 at the moment. I hope to make a future course, and have been enjoying your video series. Keep up the educational work!
blog comments powered by Disqus