News for hackers. Stuff that matters.
Re:Will Carbon Replace C++? by FpUser on Tuesday February 28, 2023 @06:14AM (#34968069)
Same here. I avoid auto in my code except iterations. Just a mental pattern. I understand that people coming from "typeless" languages might not like it at all, but it is like with guns. You can play with water pistol but you do not play with real guns, you follow some rules if you want it safe. Modern C++ in my opinion supplies enough features and tooling to help with making reasonably sure the rules are followed.
Re:Will Carbon Replace C++? by hot_gril on Tuesday February 28, 2023 @03:27PM (#34974359)
auto is the least of your worries when it comes to memory safety in C++.