Re:Pretending OOP Never Happened
by tgflynn on Friday May 15, 2020 @01:04PM
(#23194516)
> You can have a purely functional programming language with objects.
Yes, but those objects would have to be immutable. Much (probably most) OOP and procedural software works with mutable data structures, which are forbidden by pure FP.
Yes, but those objects would have to be immutable. Much (probably most) OOP and procedural software works with mutable data structures, which are forbidden by pure FP.