• BB_C@programming.dev
    link
    fedilink
    arrow-up
    2
    arrow-down
    3
    ·
    7 months ago

    No

    struct Shapes([Shape; N])
    
    impl Shapes {
     const fn area(&self) -> f64 { /* ... */ }
    }
    

    Bad article 🤨