3 ms·
On the other hand, it’s more ergonomic and readable because you don’t need to declare a new name. if name != nil: echo name versus case name of Som
by xigoi 11mo ago
On the other hand, it’s more ergonomic and readable because you don’t need to declare a new name.
if name != nil:
echo name
versus
case name
of Some(unwrappedName):
echo unwrappedName