Space-time duals between functional and object-oriented programming

from blog linus.coffee, | ↗ original
↗ original
OOP :: data : FP :: functions In object-oriented programs, we compose abstractions by composing data structures – this is composition in the space dimension a program, if you will. In functional programs, we compose abstractions by composing functions (subroutines, processes, whatver you call them) – this is composition in the time dimension of a...