rust-unofficial/patterns
View on GitHub ↗ ★ 8,937 Handlebars
A catalogue of Rust design patterns, anti-patterns and idioms
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2017-06-01 · latest 2022-07-16
20082026
-
…I.e. is there a C[RustInh] = C[Rust]. And way to prove it is to look at Deref anti-patterns https://github.com/rust-unofficial/patterns/blob/main/anti_p... I'm still not sure that fully captures my intuition of easy to write.
comment by Ygg2 · 2022-07-16 · in How I went about learning Rust -
Absolutely https://doc.rust-lang.org/std/ops/trait.Index.html https://github.com/rust-unofficial/patterns/blob/master/patt...
comment by Inityx · 2018-10-11 · in Rust has a static “garbage collector” -
…function to forward method calls to a component. Rust has the similar Deref anti-pattern: https://github.com/rust-unofficial/patterns/blob/master/anti...
comment by Psilidae · 2017-06-01 · in The Sororicide Antipattern