Sam Stephenson on Pow, CoffeeScript, and the Rails 3.1 Asset Pipeline
lg.gd
lg.gd
"Pow started out without any documentation. I went through and added the Docco stuff later.
"I thought it was fascinating the way it actually changed the code. As I would go through and document things, I would run in to cases where they were too hard to explain. Something was too hard to explain or looked too awkward. So I'd refactor it to be more linear, more narrative -- and it matched up with the documentation, and seemed so much nicer.
"I think that's half the benefit of Docco, and the other half is that it makes it so much easier for anyone to come in to the project and understand what's going on and contribute a change."
It's also great IMHO for getting an uncluttered view of code. In many cases, no matter how well written, the documentation is not enough. And while Docco is all about documentation, it shines even then.
> JavaScript the runtime language is fast, dynamic, and can run in places other languages can't. But JavaScript the development language is kind of icky. That's why CoffeeScript may turn out to be one of the great innovations in web application development; since I first discovered it, I've never had to write a line of pure JavaScript.
UPDATE: As much as I like Haml, I think I'll just switch to eco, since it seems better integrated for now, and... CoffeeScript! Now all I need is haml-coffeescript / eco-haml. Well it turns out this does exist: https://github.com/9elements/haml-coffee. But I don't know how much work I'd need to do to get it working with the sprockets asset pipeline?
I've noticed that the link to Jeremy's twitter account is wrong on your website.
I do hope GitHubChan becomes a "thing"