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

I agree that RPC is bad, but I don't think it is because it blends the boundary. I think its downfall is that it masks failures.

In this case, code seems to be explicitly labeled as client, server, or both. Sometimes, you really do want both. Consider a calendar which is sent down as HTML from the server for mobile clients, but updated on the fly by javascript in full browsers. Typically, however, your client code is explicitly marked as such and calls into server code with the very proven success/failure ajax callback pattern.



It's not just failuers. It's also the rolling upgrades and the perforomance profile.

Lack of a clearly defined protocol is a leaky abstraction.




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

Search: