Just adding a quick note: It turns out this topic has been discussed
before. I thought I tried to search but perhaps I had been using the wrong
keyword. If you search for "pure" or "purity" you will see a lot of stuff.
I am hoping to review it all soon and see if I can come to any conclusions
b
Hi,
Try to write readable code. If your function modifies any of its
parameters, make it obvious. Name the function properly and/or write a
comment. If the function does not modify its parameters, make it obvious
too. There is no hard rule on this one. Sometimes it makes sense to use
pure func