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

> REST deals with things (like OO), RPC deals with actions (like functional).

I think it's the opposite: REST deals with data, while RPC calls an operation that has side effects on some (potentially) unknown state.

Not arguing that one is better just offering my thoughts on the analogy.



That looks to me like you both agree. Things==data and actions == "calls an operation"


The main problem is that function != action.


Exactly. Action is imperative, not functional.


Yes, exactly.




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

Search: