News for hackers. Stuff that matters.
Re:How I went about learning Rust by anon291 on Saturday July 16, 2022 @12:57AM (#32115334)
The idea of object inheritance is silly. If you need a 'base' class A for data type B just do

    struct B {
      a: A
    }

There are no comments on this comment yet.