Re:OOP Is Dead, Long Live OOP
by pmoleri on Friday October 19, 2018 @12:09AM
(#18254180)
I second this. I think that a class offers a simpler contract than a closure or a curried function, with the difference that you use "this" to refer to the enclosed objects. However, the same keyword can be used to hide state and that can lead to obscure or unexpected behaviors.
[ Parent
| on HN ]
There are no comments on this comment yet.