Rust Humour Collection


#1

Was writing code, when suddenly *a wild newtype appeared*. That spawned this idea for a thread to collect Rust jokes / humour. Here we go:

  1. I used to have a primitive problem, now I have a newtype problem.

    use derive_more::{BitAnd, BitAndAssign, BitOr, BitOrAssign, BitXor, BitXorAssign, Display, From, Not};
    
    /// Whether the object is mirrored.
    #[derive(
        BitAnd,
        BitAndAssign,
        BitOr,
        BitOrAssign,
        BitXor,
        BitXorAssign,
        Clone,
        Copy,
        Debug,
        Default,
        Display,
        From,
        PartialEq,
        Eq,
        Not,
    )]
    pub struct Mirrored(pub bool);
    

#2

Well, there’s this subreddit:
https://www.reddit.com/r/rustjerk/
and i guess the “quote of the week” thread has a nice collection as well:


#3

#4

Wooow. That is golden. There are some serious poetic vibes in this community, I love it :heart_eyes:

The “Genesis of Generic Germination” PR and the Nomicon Intro are also like that and I love them as well :heart: