re: Mere Functional Programming in F# VIEW POST

TOP OF THREAD FULL DISCUSSION
re: And in fact, a function can use mutation and still be deterministic as long as the mutations are local. Yes, though it's not always the case in ...

For sure, it is otherwise normal to perform external side effects in for loops. Just to say that with some discipline it can be avoided. Though I think that way of doing things is pretty foreign to most of us.

code of conduct - report abuse