June 25, 2020
8:23 p.m.
On 26/06/20 2:45 am, Steele Farnsworth wrote:
Personally, I'd want to see mutator methods return `self` so you can do more than one mutation in a statement, but the convention is that all the mutator methods return `None`.
I would say the convention is that mutator methods don't return 'self'. That doesn't preclude them from returning some other useful value. -- Greg