6 ms·
More modern styles of C++ just wholesale avoid most problems that are solved by the borrow checker. Smart and owning pointers, dynamic and checked data structur
by AstralStorm 9y ago
More modern styles of C++ just wholesale avoid most problems that are solved by the borrow checker. Smart and owning pointers, dynamic and checked data structures thanks to operator overloading.
There are remaining warts but not bad enough in practice.
- jjpe 9y agoThat's not really all that relevant for most existing commercial code since legacy code tends to not get rewritten at all unless it's absolutely necessary, and thus remains stuck with the Old Ways.
- AstralStorm 9y agoIndeed, but unlike a rewrite, you can refactor staying in the same language at your leisure, piece-wise. Plus the argument was mostly pertaining to new code.