Re:A Guide to Closures in Rust
by z3t4 on Wednesday May 24, 2023 @08:15AM
(#36056946)
Async code is hard to reason about. Async closures is what I like most about JavaScript (JS) though. Because JS pass all variables by value they get frozen in time when passed to a function. This make async code easier to reason about, as all variables are immutable.
[ Parent
| on HN ]