3 ms·
> 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 th
by grandalf 11y ago
> 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.
- delinka 11y agoThat looks to me like you both agree. Things==data and actions == "calls an operation"
- RangerScience 11y agoYes, exactly.
- marcosdumay 11y agoThe main problem is that function != action.
- arde 11y agoExactly. Action is imperative, not functional.