Re:Array Languages vs. the Curse of the Spreadsheet
by xmcqdpt2 on Wednesday March 06, 2024 @07:53AM
(#39615405)
That's because you aren't using Modern C++. You can write Modern C++ safely, you just need to use the right set of features and not the other ones.
Here is a short read on this topic,
https://www.amazon.ca/Embracing-Modern-Safely-John-Lakos/dp/...
It's only 2661 pages. Yes, that is almost 3x longer than The Rust Programming Language, 2nd Ed.
Or, you could use C++ which, on one hand is hard and obtuse to read, and on the other hand, has 10x as many footguns as C.