Hacker News new | ask | show | jobs
by layer8 356 days ago
Imperative code is a function from one program state to another.
1 comments

That 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.