Rust is not a C++ replacement, nor a C replacement. It targets its own niche (embedded, realtime, correctness-oriented). It's a totally different development culture. Zig, OTOH, is absolutely a C replacement.
There are whole different ways of life. For example, before the abundance of oxygen on Earth, the first bacteria lived on sulphur-based biochemistry. It was slow and inefficient, but better than being poisoned by that oxygen plague! Remember that it's an extremely destructive oxidizing agent (even in us it causes aging etc). It actually took millions of years for living organisms to start breathing oxygen (which was the real new and exciting breakthrough of the time).
B-b-but my scientific consensus!!! My 97%!!! Scientific truth is clearly
determined by UN/Greenpeace propaganda and mentally disturbed Swedish teenagers! Are you saying you're a climate denier?
Both of those things were hoaxes by the Democrats. Pathetic power struggles to distract the public's eye from the real problems that ordinary people face. Who cares if some Russian hackers got some access to the DNC servers? That didn't affect the actual election results, not one whit.
LBYL can easily be enforced by Maybe types, leaving exceptions for really exceptional things (which a nonexisting file definitely isn't). So we see how not having a real type system hurts and deforms a language in ways unrelated to types.
And the fault is with the Democrat media. CNN, NY Times rtc have been demonizing Trump so much and in such a biased way that they've turned themselves into fake news.
Yet millions of people love what Trump does. And the celebrities that pledged to leave USA if he got elected somehow didn't follow on their promises. The real problem is that the country is polarized now, and neither side will accept the result of election - any result. And who is responsible for this polarization? Democrats and their affiliated media are. They are the ones who couldn't respect Trump's presidency and preferred to destroy the social fabric to get the power back.
I think it's the dreams of possible job heaven. With an esoteric language that can be used for finance, you can not only grow your mental gonads ("it's even smarter than Haskell!!") but also possibly get a six-figure job that will be very secure.
Sorry, I don't need your permission. And I'm not being mean, I'm calling out a crappy idea for what it is. If more people did it, the authors of that language and people like them would stop wasting their time making stuff that is a bad idea from the get-go. I'm only providing valuable feedback.
I think we need to separate inheritance trees (arbitrary depth of inheritance) from mixin/trait inheritance which has height = 2. The latter is a lot more useful in eg. games where objects are assembled from mixins like Legos. The former leads to fragility, class bloat and other problems (remember MFC...).
Basically, GUI frameworks are the only area I know where OOP - real, authentic long inheritance chains with encapsulation and extensibility - has worked well.
Nope, that's not a class, that's a struct and a module with functions. Any method called as obj.foo(5) is really just a function foo with a hidden argument foo(obj, 5). Rust makes this architecture explicit with its structs and trait impls separated - and no OOP in sight.
Classes, on the other hand, are not structs with functions. More like black boxes whose contents can be swapped out at any moment. OOP is about hiding implementation and infinite extensibility.