Revisiting requiring explicit `self.` when passing a method as an escaping closure

It is not immediately obvious to me that prepending self. to the method name would imply that self is being captured strongly by the callee. Most uses of self. are to disambiguate. While you are correct that use within escaping closures are an exception, it doesn't strike me that the example would be interpreted that way, versus the more common use for disambiguation.

3 Likes