Hacker GitHub

← All repos

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

Mentions per year 3 mentions · busiest year 2017 (1)
20082026
  1. …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
  2. Absolutely https://doc.rust-lang.org/std/ops/trait.Index.html https://github.com/rust-unofficial/patterns/blob/master/patt...
  3. …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