|
|
|
|
|
by tudelo
2377 days ago
|
|
Yeah, I'm familiar with the pattern, but I wouldn't say that this is a 'stateless' pattern because even having that object is 'state'. I don't think 'stateless' makes sense if objects are involved. I would agree that it's immutable. |
|
There is mutable state on the conceptual level, i.e. what is modelled, but not on the language level abstraction of an object.
There is no mutable data/state on the language level, at least how things are understood in pure functional programming. But of course mutable state in the real world (for lack of a better term) can still be modeled there.