News for hackers. Stuff that matters.
Re:A Python programmer’s first impression of CoffeeScript by jashkenas on Thursday May 12, 2011 @06:32PM (#2542620)

    $.getJSON url, (response) -> ...

    # Or, more detailed...

    $.ajax
      url: "/query.json"
      type: "GET"
      success: (response) -> 
        process response
      error: -> 
        alert "trouble!"

There are no comments on this comment yet.