News for hackers. Stuff that matters.
Re:Callbacks are imperative, promises are functional by jasondenizac on Saturday March 30, 2013 @08:36PM (#5467192)
The project I'm working on right now is about 6 months old. Promises have greatly simplified our data access layer. My argument here is mostly syntactic (not semantic, like the OP), but being able to assign promises to a variable has improved the readability of the code and the intent of the code, improving readability, testability, and flexibility. I don't claim that promises are the One True Way, but they get a lot of noise out of my way and let me focus more on what our code is doing than on how it's doing it.

There are no comments on this comment yet.