Comment

Comment by jscipione

I wondered how Rust would tackle the problem of creating a GUI without C++/Java style inheritance and now I see the answer: you must explicitly compose all "inherited" traits in your subclass. "Unfortunately, nobody found yet a good way to do that. Which is why, as of today, subclassing of GObjects in Rust requires to mention all ancestors and interfaces ..."
parent jscipione 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton