3 ms·
I mean ... all programming is is manipulating state/data soo yea I guess this tracks.
by oluwie 4y ago
I mean ... all programming is is manipulating state/data soo yea I guess this tracks.
- at_a_remove 4y agoExactly. The Turing machine is a state machine. The universe does a pretty good job of appearing stateful (amusing side note, Greg Bear's Moving Mars has a fundamentally object-oriented universe, as opposed to Wolfram's bent). All of our programming paradigms are built to, in the end, manipulate state. Imperative programming does this in a very direct manner, others are more indirect. Ultimately, this implies a tradeoff of some kind of overhead, plus some ... paradigm impedance mismatch, if I may coin a clumsy phrase ... at the edges. You can try to ignore state but at the end of the day, you still want to do something with it at the start and at the end, at least one of the two.