4 ms·
While I do like Swift and wish Rust would look as nice, it doesn't have references and lifetimes. Those two alone make code way nicer. Anonymous closure argume
by RazrFalcon 3y ago
While I do like Swift and wish Rust would look as nice, it doesn't have references and lifetimes. Those two alone make code way nicer.
Anonymous closure arguments, aka $0, are probably the ugliest part of its syntax.
numbers.contains(where: { $0 > 0 })