3 ms·
Abusing inheritance of virtual methods instead of interfaces (which makes classes closed to extension, and the possibility of overriding non-zero methods is not
by jstimpfle 3y ago
Abusing inheritance of virtual methods instead of interfaces (which makes classes closed to extension, and the possibility of overriding non-zero methods is nothing short of weird), and implicit "this" parameter (which makes stuff needlessly hard to read and refactor), are two of the biggest annoyances on my list -- because they are so basic.
- pjmlp 3y agoWell, you can enjoy explicit this parameter in C++23, if that is your thing. As for the complaints, they are kind of doable in Rust as well. Use traits with function pointers, empty types, and some macros.