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

    No

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

    Bad article 🤨