Wrote a pretty in-depth blog post about a common gtk-rs macro. If you're interested in GNOME/Rust stuff, check it out:

@brainblasted I gotta nitpick just a tiiiny bit:

> a closure is a function you can use as a variable or an argument to another function

All functions can be used as values, the difference with closures is that they're anonymous (I kinda blame the book's wording here, it's not super clear).

That being said, the article is absolutely excellent anyway, I really shouldn't be complaining about one line inside 😅
Sign in to participate in the conversation

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!