Re:Pretending OOP Never Happened
by _bxg1 on Friday May 15, 2020 @07:13PM
(#23198601)
Personally I've lumped procedural and OOP together into a single concept. Put differently, I consider OOP as a strict successor to procedural. Both are about side-effects and state, OOP just gives you smarter tools for encapsulating and managing that state. FP lets you eliminate some state altogether. My personal philosophy is to eliminate as much state as you can, and then to smartly manage what's left.
[ Parent
| on HN ]
Re:Pretending OOP Never Happened
by jbverschoor on Friday May 15, 2020 @08:27PM
(#23199162)
State is simply scoped more often.
It’s all just a bunch of functions and memory