3 ms·
C++ inherits from C the flaw that it is as Dennis Ritchie put it "Strongly typed but weakly checked". In this case that hurts really badly because it means you
by tialaramex 4y ago
C++ inherits from C the flaw that it is as Dennis Ritchie put it "Strongly typed but weakly checked".
In this case that hurts really badly because it means your C++ compiler is likely to let you do stuff that's nonsense, because checking isn't part of the job description, if you claim this Duck is a Goose the C++ compiler just rolls its eyes, sure whatever, however rustc says that is a Duck, you said it's a Goose but it is not, that's an error.
That checking means a hard left shift for such bug finding, which can mean a substantial direct financial saving on QA or an improvement in feature velocity.
- pjmlp 4y agoYeah, copy-paste compatibility is a blessing for adoption, and a curse for herding cats into better coding practices. Same can be told about TypeScript, Groovy or any other language that follows the same adoption model.