News for hackers. Stuff that matters.
Re:Why Class? by weavejester on Sunday November 24, 2013 @06:43PM (#6791719)
> OO is designed and really good for modeling a complex system that involves lots of mutation

I'd argue that this is where OOP struggles the most. Because mutation in OOP is implicit and unconstrained, it's more difficult to manage than in FP languages, which typically have more sophisticated controls and constraints for handling state.

Re:Why Class? by dbaupp on Sunday November 24, 2013 @10:14PM (#6792306)
Isn't that more a problem with the mainstream implementations of OOP, since one could concievably have an OOP language with fine-grained mutability?
Re:Why Class? by weavejester on Monday November 25, 2013 @10:19AM (#6794456)
Yes, I suppose it would be possible. It might work better with Smalltalk-like languages that revolve around message-passing.
Re:Why Class? by gngeal on Saturday December 07, 2013 @12:37PM (#6866961)
Jormundir is very much wrong on that. OOP was never supposed to "involve lots of mutation". Go ask Alan Kay. ;-)