Polymorphic Builder

added by DotNetKicks
3/9/2020 4:52:18 PM

233 Views

Keeping illegal states unrepresentable with the Builder pattern. As a reaction to my article on Builder isomorphisms Tyson Williams asked: "If a GET or DELETE request had a body or if a POST request did not have a body, then I would suspect that such behavior was a bug.


0 comments