4 ms·
Seeing this does make me appreciate the "no such thing as a constructor" approach of Rust. Rust, of course, has a totally different object model. OOP classes a
by rtpg 4y ago
Seeing this does make me appreciate the "no such thing as a constructor" approach of Rust. Rust, of course, has a totally different object model.
OOP classes are really a bit of a triumph of engineering, because they offer a lot of nice ways to build out various complex systems (would rather build out GUIs in a Java-based object model than in a Rust-basd one). And the fact that moving the model "forward" in expressivity is so subtle and starts introducing a lot of asterisks is probably proof that it's some local maximum
- deleted 4y ago[deleted]