logoalt Hacker News

ameliusyesterday at 10:20 PM2 repliesview on HN

Closures are the bread and butter of functional programming, but Rust made closures a complicated mess.


Replies

openuntil3amyesterday at 10:58 PM

Closures are a complicated mess. Functional programming languages hide the mess with garbage collection.

Klonoaryesterday at 10:25 PM

If you understand the borrow checker, closures are just not that much on top of things.

In fact I can’t remember the last time I had to fight with them.

show 1 reply