miniblog.
← Back to all posts
Wilfred Hughes
Oct 3, 2012 at 13:50
If foo.bar() mutates foo, it probably shouldn't also return foo. It violates the principle of least surprise when reading `baz = foo.bar()`