Yarn

Recent twts in reply to #2hgjg3q

This feels useful: Rust’s Block Pattern


#2hgjg3q

(#2hgjg3q) @movq@www.uninformativ.de Very nice! I often wish other languages had something similar. Sometimes, I use lambdas, but that also looks ugly and feels a bit like a misuse. Other times, just the normal blocks are enough, but it’s not the same. Especially with the mutability aspects as the article explains. Typically, I just put it in a function or ignore it if it’s just a few lines.


#xqyb4ya
Login to participate in this yarn.