Search Results
6/22/2025, 9:39:47 PM
The lack of OOP in Rust has been the biggest hurdle to me moving to it. Ownership, borrowing, memory safety in general has been relatively easy to grasp as a former pythonbabby, but the lack of stuff like partially abstract classes is extremely annoying. It's what made me actually consider learning C++ instead, but I really want memory safety and I heard C++ is full with footguns. If Safe C++ ever becomes a thing I am switching.
I don't know how other languages do it, but in Rust people just end up writing horrifying macros to make Franken-OOP constructs anyway and a lot seems to be unfinished and pending features in nightly. Stuff like generic consts is a beta feature which is a bit baffling.
I realize they want to avoid AbstractSingletonProxyFactoryBean. I do too, but I'm a big boy and I can use my tools responsibly. I don't like having my tools taken away because the language designer sees me as a child. We're all consenting adults here.
I don't know how other languages do it, but in Rust people just end up writing horrifying macros to make Franken-OOP constructs anyway and a lot seems to be unfinished and pending features in nightly. Stuff like generic consts is a beta feature which is a bit baffling.
I realize they want to avoid AbstractSingletonProxyFactoryBean. I do too, but I'm a big boy and I can use my tools responsibly. I don't like having my tools taken away because the language designer sees me as a child. We're all consenting adults here.
Page 1