apple/swift-evolution 上關於 guard 的有趣討論

  • infer return for omitted guard body
  • rename gaurd to unless

--

--

--

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Veck

Veck

More from Medium

Check Network Connection-iOS(Swift)

From ObjC → Swift → ObjC: Part 2

What is CollectionView ?

Preventing Invalid Characters from Being Entered in a UITextField