My friends who work on Rust should actually check out all the cool stuff Swift does to make closures SO MUCH better to work with.
-
-
-
Although it's not clear to me that expression-orientation plays well with their trailing-closure-arg thing -- foo.map |x| { x + 1 }; ???
-
Rust had this syntax for a while...
-
worth revisiting, I think! (assuming it's not a huge parsing disaster...)
End of conversation
New conversation -
-
-
@SwiftLang could autoclosures make Vec::push wrap an emplacement? -
sounds possible but it might shift your API around a bit. May still want "full" Placer API so they can be returned.
-
theres a placer api in the works but my concern is ppl "correcting" new users that push is "worse" when it doesn't matter
-
cf to string vs into
End of conversation
New conversation -
-
-
@pkhuong special-case programming language designThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.