Programmers agree functions that return values are better than having side effects. What's a clear, concise summary as to why side effects are bad? Most arguments I've seen depend on "I'll know it when I see it" or "because composition", but I don't find them compelling
-
-
Surprise! verify_email! also sends an email, because of either a line of code in it or (super likely to have bitten me 1+ times) a Rails object lifecycle hook. Your account managers are now hopping mad because their sophisticated enterprise customers are getting machined emails.
-
This Tweet is unavailable.
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.