3 ms·
Imperative code is a function from one program state to another.
by layer8 1y ago
Imperative code is a function from one program state to another.
- kazinator 1y agoThat concept is not reified in the imperative language in any meaningful way. There is no actual function from the program state, to the next state as a language construct. Even if there were, it would be in a different category from the while loop and its ilk.