by dustingetz · 6y ago · 0 comments
To me Python, Java, C++ are about encapsulation of imperative effects, but article is not about that kind of OOP
I think article is talking about v.f() "eliminator" vs f(v) "constructor" and that objects and closures are equivalent, but I am missing the deep insight beyond that. I don't understand how this helps with the expression problem (lets me not recompile my code to add new match cases to add additional data constructors)