Maybe "rewrite it in Rust" is annoying, but from my point of view "Rust doesn't prevent every bug ever, so you should just use C or C++" is much more annoying.
-
-
inheritance is kind of juts composition + delegation + implicit interface; if we had some elegant and effortless delegation in Rust, we would have 99% of inheritance, IMO; it is sometimes useful. eg. you have ID, and you want IDWithUrl, and would like existing code work with any
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
I should clarify. I use both composition and inheritance when I write software, I just do not use composition as a substitute for inheritance. I see them as two totally different things that are used for different relations and get really confused when people try to use
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
-
-
composition as an alternative or replacement to inheritance.
Hvala. Twitter će to iskoristiti za poboljšanje vaše vremenske crte. PoništiPoništi
-
Čini se da učitavanje traje već neko vrijeme.
Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.
| GH: