Re:Is your programming language unreasonable?
by sonyandy on Wednesday February 04, 2015 @01:58PM
(#8998849)
To "what's the point of immutable objects?": runtime polymorphism + maintaining invariants (since immutable, at the time of construction).
[ Parent
| on HN ]
Re:Is your programming language unreasonable?
by kyllo on Wednesday February 04, 2015 @03:44PM
(#8999616)
Why do you need objects to get runtime polymorphism?
Here's a counterexample of runtime polymorphism without objects: http://clojure.org/runtime_polymorphism