My favourite part of the book "Clean Code" so far is the chapter where he advocates that functions ideally have zero arguments and then advocates that functions ideally do not have side effectspic.twitter.com/ylRTNSbWwy
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Additionally, he doesn't consider it to be a side-effect when a method call interacts with `this` (sets member variables, for example)
So, for example, instead of one method passing a Boolean flag `isSuite` into an inner method call, he sets `this.isSuite = isSuite` in the first method and then reads from `this.isSuite` in the inner method
As we see here: https://github.com/ludwiggj/CleanCode/blob/master/src/clean/code/chapter03/SetupTeardownIncluder.java#L28-L33 …
Wait are you saying I was keeping my setters side-effect free for no good reason?
This is terrible terrible advice
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.