You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With Swift 5.3 you can now leave out self inside of closures of value types. Furthermore it is possible to capture self explicitly. I think the new rule should be to never write self except when it is required for disambiguation. Moreover, a strong capture should be explicitly spelled out in the capture list once. Brevity is achieved without any loss of clarity.
The text was updated successfully, but these errors were encountered:
With Swift 5.3 you can now leave out self inside of closures of value types. Furthermore it is possible to capture
self
explicitly. I think the new rule should be to never writeself
except when it is required for disambiguation. Moreover, a strong capture should be explicitly spelled out in the capture list once. Brevity is achieved without any loss of clarity.The text was updated successfully, but these errors were encountered: