4 ms·
It takes some time to get used to and change mental model from "program describes step by step what to do" to "program describes logical flow of information".
by dpc_pw 7y ago
It takes some time to get used to and change mental model from "program describes step by step what to do" to "program describes logical flow of information".
I moved from first camp to the second one somewhere during my adult life. And IMO: Both are valid, sometimes first one is necessary (because that's how the machines actually work), but second one is clearly better most of the time for humans, especially in business-logic heavy cases.
- thaumasiotes 7y agoThere's an analogous switch in algebra from notation like f(g(x)) to something more like X_{GF} (where the _{} indicates subscripting, not written symbols). Note the better left-to-right ordering in the terser system. It's the same dichotomy; are you thinking of f(x) as an instruction to do f to x, or are you thinking of X_F as what happens when X goes through F?