Hacker News new | ask | show | jobs
by STRML 4921 days ago
I agree. One of the advantages of the (err, result) style is that it puts error handling directly in your face. The `result typeof Error` style does not.

In any case all I care about is that we choose one, and (err, result) is gaining traction, which is fine. While many are excited about domains, I am not. From my perspective, in practice, it will just add another incompatible style onto the pile.

1 comments

Yeah, domains seem like a desperate solution. Will be interesting to see what eventually becomes the standard.