3 ms·
You can still have side effects in a static method. A more functional style, say like that of the one in F#, strongly encourages you to avoid many occasions wh
by estomagordo 8y ago
You can still have side effects in a static method.
A more functional style, say like that of the one in F#, strongly encourages you to avoid many occasions where side effects may otherwise appear. Look at this fiddle for instance:
https://dotnetfiddle.net/68jAIw https://dotnetfiddle.net/68jAIw