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

> Agreed, actions should be represented as nouns. It's just that rest tends not to encourage this

How, specifically, is this the case -- what is it about REST that is concretely bad for this compared to alternatives?

As I see it, REST is about what you do with your domain model, not how you make the domain model. They are orthogonal concerns; people very often suck at domain modelling, but that's not any architectural pattern's fault.

> He should have a sale resource and put to it but because he doesn't he transfers the price to the client which then gets out of date. The client is being coupled to the server and the server lacks cohesion; all for the lack of thinking in terms of actions/behaviours at the interface level.

And how is choosing the wrong resources REST's fault?



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: