|
Is that a problem? I seem to recall from CS115 that functional programmers view assignment with some distrust and don't consider it the "must-have" feature that it appears to be in imperative languages. This is still a problem, I think. When you want to write an iterative function that works by having, for example, a state variable decremented each iteration until it reaches zero or something, the system would not know the value had been changed, because changes would be logged in our environment later and later each time, and this would effectively hide the changes we were imposing on the variable. That is not the same as imperative programming, and yet we would still like to change the variable's contents. Thanks for your insight though. roni |
to: