4 ms·
> that's basically a static method in C# No, `Console.WriteLine` definitely has side-effects > functional programming should never handle state No, quoting t
by frabert 8y ago
> that's basically a static method in C#
No, `Console.WriteLine` definitely has side-effects
> functional programming should never handle state
No, quoting the same quote as you did: "avoid these side effects wherever possible", emphasis on "wherever possible". Of course, a program which never has any side effects or state would be useless, as it would not accomplish anything.