Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Seems like you really have a lot of contrast in that theme. Also I hope you will consider dropping the extra parentheses.

And instead of dropping CoffeeScript I hope you will try out ToffeeScript. But just use the basic ! thing, you don't need the other stuff like auto callback.

    e, data1 = fs.readFile! 'foo'
    e, data2 = redisclient.get! "thekey"
    console.log data1
    console.log data2


When I first started using CoffeeScript I dropped just about every optional character you could. Lately I've been going in the opposite direction and adding most of them back in. I find this is also a matter of taste and experience. Whether I add the parens or not depends a lot on what's going on at that point. I do appreciate how flexible CS can be here.

I'm interested in things like ToffeeScript and JS generators. I do like what they do for code readability.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: