Re:Representing State as Interfaces in Go
by ReleaseCandidat on Thursday March 28, 2024 @05:03PM
(#39857289)
For me a "builder pattern" is also something like this with immutable data:
where each
For me the defining feature of a builder is the (possibility of a) gradual "configuration" (or whatever) of the data structure being "built". A state change is something else in my opinion, but of course, the difference between a "state change" and a "configuration" (which does change state) isn't a clear one, so if for you that is still a builder, that's fine for me too ;).
[ Parent
| on HN ]
There are no comments on this comment yet.