News for hackers. Stuff that matters.
Re:OOP Is Dead, Long Live OOP by beders on Thursday October 18, 2018 @03:55PM (#18251584)
OOP has no built-in facilities to deal with multi-threading. It's orthogonal to it and that's a problem.

Thread safety can't be expressed or enforced and you can't grab a bunch of classes from somewhere and assume anything about their fitness for multi-threaded code.

Typically one has to carefully design a class for multi-threaded use. Reasoning about state inside objects then quickly becomes infeasible.

Re:OOP Is Dead, Long Live OOP by p2t2p on Thursday October 18, 2018 @04:53PM (#18252012)
Which _paradigm_ has those facilities? Not a language, but a paradigm?
Re:OOP Is Dead, Long Live OOP by trylist on Friday October 19, 2018 @12:37AM (#18254273)
Pure functional programming has this property by its nature. Anything immutable cannot be changed during another threads execution.