Re:Rust Weird Expressions
by pornel on Friday May 14, 2021 @11:59AM
(#27155684)
This is not the same kind of complexity. Rust mostly reflects complexity of its domain (thread-safe, memory-safe, low-level without runtime, a lot of correctness enforced at compile-time), rather than unfixable baggage of C and C++'s early design decisions.
I'm not saying all the complexity of C++ is its own fault, but Rust shows how much of it is unnecessary. It manages without any constructors at all (think how many rules and features are connected to them!), without inheritance, and with only one (1!) way to initialize a variable.
I'm not saying all the complexity of C++ is its own fault, but Rust shows how much of it is unnecessary. It manages without any constructors at all (think how many rules and features are connected to them!), without inheritance, and with only one (1!) way to initialize a variable.