My gut reaction to #strangeloop is that FP people view immutable state as an absolute. There's middle ground. Mutability is useful too, IMO.
@KirinDave users of mutable state languages can likewise model immutable state. That said, it'd be nice to have more language-level support
-
-
@bascule Having mutable as the default is where concurrency becomes totally insane. So it's not clear why mutability-by-default is great. -
@KirinDave I'd prefer a capability-based model where you have mutable and immutable views of the same data -
@bascule Like Clojure's refs and atoms? -
@KirinDave I'm not sure you understand what I mean by "capability". I'm coming from a capability-based security perspective -
@bascule Making the semantics of the value cell explicit and its interactions labeled? -
@KirinDave I think degradation is the central idea behind capabilities -
@bascule The very idea that immutability is a "degradation" of mutability is what's incorrect, my friend. It's not about that. -
@KirinDave haha, please don't interpret degradation as an insult ;) Mutable references are capable of mutation, simple as that - 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.