News for hackers. Stuff that matters.
Re:Meteor Raises $20M to Build the One JavaScript Stack to R... by vdaniuk on Friday June 12, 2015 @11:54AM (#9706652)
> There is no library (promises, fibers) that alleviates the simplicity of being able to do: users = User.objects.all()

As an counter-example, Sequelize offers both callbacks/promises so you don't have to wrap the query function manually. In fact many libraries provide promise interface or can be promisified with bluebird.

Using ES7 async/await and babel you just write:

let users = await Users.findAll()

Async/await syntax was the feature that made JS development pleasant for me. Brackets and parentheses soup that tends to be produced by callbacks/promises made my pattern recognition sick.

There are no comments on this comment yet.