6 ms·
I've seen some ugly OOP codebases, but I've seen some very nice ones too. I haven't seen any nice FP codebase yet besides basic APIs. There's a reason why 99%
by jongjong 17d ago
I've seen some ugly OOP codebases, but I've seen some very nice ones too. I haven't seen any nice FP codebase yet besides basic APIs.
There's a reason why 99% of video games are OOP. That level of complexity is just too much for FP.
- slopinthebag 17d agovideo games are oop for historical reasons mostly. ue6 is built on verse which is a crazy functional language. carmack himself flirted with haskel and racket. but games are so perf oriented that for a long time the only options were c or c++ (c style ofc). the current trend are ecs's which are distinctly not classical oop