News for hackers. Stuff that matters.
Re:Where Is .Net Headed? by ilaksh on Thursday May 16, 2013 @12:46AM (#5716968)
Well, that's not bad, but I think the CoffeeScript is better

    $.get $('#url').val(), (res) -> $('#res').val res.length
Or using LiveScript backcalls is even cooler:

    data <-! $.get '/x.html'
    $ \.res .val data
Or in IcedCoffeeScript if you like 'await'

    await $.get 'documentation/css/docs.css', defer res
    console.log res
Or check out the huge list of languages that compile to JavaScript at http://altjs.org/

There are no comments on this comment yet.