News for hackers. Stuff that matters.
Re:Ask HN: How do you write clean node.js code? by ricardobeat on Thursday May 12, 2011 @01:17AM (#2539543)
I've worked on a single, medium-size app to date, but I think these might have an impact:

- try Coffeescript. It may look strange at first but ends up way more elegant and readable

- use [Step](https://github.com/creationix/step) to ease sequential async calls

- visually organise your code (formatting, lined up declarations, well separated pieces of functionality). This can help a lot after you've moved on from one part of the codebase to another

There are no comments on this comment yet.