Re:Code Health: Make Interfaces Hard to Misuse (2018)
by Smaug123 on Sunday September 06, 2020 @12:43PM
(#24392614)
I don't think so? I'm not very well up on my OOP patterns, but in my mind the builder pattern in OOP corresponds to the initial algebra pattern in FP, and initial algebras can model domains with or without that kind of restriction. I think they're basically orthogonal.
[ Parent
| on HN ]
There are no comments on this comment yet.