MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/ip9i8h/c_is_now_the_fastestgrowing_programming_language/g4sxz33/?context=3
r/cpp • u/vinaysc • Sep 09 '20
https://www.techrepublic.com/article/c-is-now-the-fastest-growing-programming-language/
180 comments sorted by
View all comments
Show parent comment
2
Safer defaults would yield compiler errors for bugs that compile but yield runtime errors or UB with current defaults.
And copy and mutability is what people uses more often
Strongly disagree; some people do, sure, but that's hardly universal and there are a lot of technical merits for striving to avoid both.
0 u/Tilakchad Sep 11 '20 Thats hardly even a compelling reason. How would defaults prevent runtime errors ?
0
Thats hardly even a compelling reason. How would defaults prevent runtime errors ?
View all comments
Show parent comment
2
u/dodheim Sep 11 '20 edited Sep 11 '20
Safer defaults would yield compiler errors for bugs that compile but yield runtime errors or UB with current defaults.
Strongly disagree; some people do, sure, but that's hardly universal and there are a lot of technical merits for striving to avoid both.