Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: