3 ms·
C++ is just one of the many failed attempts to improve on C. So, yes, C has its issues, but C++ is certainly not the solution. The long story. There are three
by gizi 11y ago
C++ is just one of the many failed attempts to improve on C. So, yes, C has its issues, but C++ is certainly not the solution.
The long story. There are three dominant Turing-complete axiomatizations: numbers (Dedekind-Peano), sets (Zermelo-Fraenkel) and functions (Church). The Curry-Howard correspondence shows that all Turing-complete axiomatizations are mirrors of each other.
If "everything is an object", it means that there must exist a Turing-complete axiomatization based on objects.
Well, such axiomatization does not exist at all. Nobody has phrased one. Therefore, object orientation and languages like C++ are snake oil. They fail after simple mathematical scrutiny. C++ is simply a false belief primarily inspired by ignorance.