just remembered coming across this keynote from carmack 10+ yrs ago
he covers many awesome topics, but in this part he talks about his learned love for functional programming (including a personal haskell version of wolfenstein 3D)
https://www.youtube.com/watch?v=1PhArSujR_A