Re:Roy Fielding's Misappropriated REST Dissertation
by wolfgang42 on Sunday June 28, 2020 @11:17PM
(#23674042)
“Nounical programming” is only not a word because it’s called “object-oriented” instead.
Re:Roy Fielding's Misappropriated REST Dissertation
by WClayFerguson on Monday June 29, 2020 @09:16AM
(#23677267)
And we also agree all objects (in OOP) are operated on by verbs (methods), but REST claims that using a predefined set of generic verbs is good. It isn't good.
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.
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).
I think what you are conflating is "good documentation" and "well designed APIs" as an attribute of REST, when it's really just an attribute of good engineering.
Engineers have used functional interfaces for decades and there's just nothing at all in REST that's any kind of improvement over functional. There's a reason "functional programming" is a thing and "nounical programming" isn't even a word.