Y
Hacker News
new
|
ask
|
show
|
jobs
by
danielinoa
2553 days ago
Swift has an elegant solution to this called Optional Binding:
https://docs.swift.org/swift-book/LanguageGuide/TheBasics.ht...
Go would benefit from something like this.