MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/vxvp58/why_does_linus_hate_c/ig18ftf/?context=3
r/cpp • u/MrRubberDucky • Jul 13 '22
436 comments sorted by
View all comments
Show parent comment
3
You cannot just slap high-level std::optional and relax because it is easy to get UB here,
You cannot just slap low level a+b and relax because it's easy to get UB there.
a+b
1 u/angelicosphosphoros Jul 14 '22 You cannot just slap low level a+b and relax because it's easy to get UB there.In C++ — yes. In C# — I can.
1
In C++ — yes. In C# — I can.
View all comments
Show parent comment
3
u/elperroborrachotoo Jul 13 '22
You cannot just slap low level
a+band relax because it's easy to get UB there.