Re:Roy Fielding's Misappropriated REST Dissertation
by noblethrasher on Sunday July 12, 2020 @12:33PM
(#23812542)
In response to the criticism of "noun-oriented" programming, check our this video: https://www.youtube.com/watch?v=BDPHfRuAFnU&feature=youtu.be....
It's worth watching from the beginning, but I've linked to the relevant timestamp (8:30).
Pick up any book on OOP and try to convert all the "operations" (method calls) in the book into CRUD methods for every code example in the book. It's doable from an information theoretic standpoint, but the book would become a completely unreadable clusterfk, for precisely the same reason that REST is so awkward. Doing an API with a predefined set of generic verbs is just silly.