Why is nobody prescribing using TDD ? :)

On Tuesday, 29 October 2013 07:22:28 UTC+1, Trevor Norris wrote:
>
> On Monday, October 28, 2013 4:31:58 PM UTC-7, spion wrote:
>>
>> Handling errors with promises is simple and clear (I find it one of the 
>>> most pleasant parts of working with promises), but until the advent of 
>>> bluebird, they incurred a pretty substantial performance penalty, if the 
>>> main reason you were using promises was for error-handling. Having all 
>>> those try clauses is expensive. And if you look at what bluebird has to do 
>>> to get around that, it's kind of hairy and not all that different from what 
>>> the domains system was doing under the hood.
>>>
>>
>> True. The end result however is an API that is simple and straightforward 
>> to use - arguably even easier than domains.
>>
>
> Though I don't think easier than just running the following in existing 
> code:
>
> require('./longstack').start();
>
> ;)
>
> (example script for reference: https://gist.github.com/trevnorris/7209654
> ) 
>

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to