4 ms·
My experience with functional programming helped me understand the use of register machines (aka imperative programming). FP has a better ability to cut and exp
by agumonkey 12y ago
My experience with functional programming helped me understand the use of register machines (aka imperative programming). FP has a better ability to cut and expose clean abstractions, while register machines conflates things quickly, making it hard to see if it doesn't fit your brain's inner working. Being on the other side helped me see these hidden structures (whether or not I change the way I write C code for instance).
edit: typos, also I believe https://mitpress.mit.edu/sicp/full-text/sicp/book/node105.html https://mitpress.mit.edu/sicp/full-text/sicp/book/node105.ht... is a good example of bridging both worlds. Mapping a scheme to a register machine. Sussman's videos were a real eye opener.