You ever factor something out of a method and realize you can get rid of the
dependency on self
(which is really nice to do for clarity and testability)?
In my experience, typically this is then pulled in to a function, but then you have to move the definition all the way outside of the class, which can suck.
To compensate for this, sometimes you'll leave it as a method and just not
use self
in the body. This is a good use case for the @staticmethod
decorator, which I'll explain: