That's true, though ime you can usually do it so that the cramming just requires some basic boilerplate I've also personally found these cases exceedingly rare
-
-
Speaking only for myself, this doesn't match my understanding of the relationship between Rust and OO. Among other things, it seems to use a definition of OO that's carefully crafted to include stuff that Rust has and exclude stuff it doesn't.
-
You mean the other way around? A definition of OO that excludes stuff Rust has and includes classes and inheritance?
- 18 more replies
New conversation -
-
-
yeah, but I'm trying to say that even if you ignore the ideological issue, the design issue is super super hard and basically unexplored territory
-
Just built a new UI kit entirely around composition / Rust. It works fine, but it's different than 'ye olde OO UI'. The key seems to be to reduce the fn entrypoints on your 'classes', and really design for wrapping the calls. Example code of a log-view: https://github.com/makepad/makepad/blob/dev/makepad/src/loglist.rs …
- 2 more replies
New conversation -
-
-
Someone should have a talk titled "OOPs was a mistake."
-
OOh no!
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.