News for hackers. Stuff that matters.
Re:Ask HN: What's the most simple thing you struggle to unde... by zumu on Friday June 09, 2017 @02:32PM (#14523381)
Thanks for taking the time to give these detailed responses.

One more question (restated from below):

Coming from FP where immutability is sacrosanct, I often wind up writing classes that are largely immutable, which doesn't seem like correct OOP. Is there a proper way to marry immutable data structures with OO?

Re:Ask HN: What's the most simple thing you struggle to unde... by jtolmar on Friday June 09, 2017 @09:47PM (#14525763)
The object-oriented world has been moving towards more immutable and mostly-immutable classes. This is sometimes awkward with large classes, so people use the builder pattern to get around it. (It's a case of languages having not caught up with practices.)