
Mar 30, 20062 min read
Now how do you do this in functional programming
Consider the following piece of code: In functional programming, we cannot assign values to variables; variables can only be initialized. So I can't use a 'flag', the reason being that if I initial...