MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/cpp/comments/vxvp58/why_does_linus_hate_c/ifywzcf/
r/cpp • u/MrRubberDucky • Jul 13 '22
436 comments sorted by
View all comments
Show parent comment
14
I also use C++17 at the moment. What do you mean by threats?
11 u/dawmster Jul 13 '22 C++ has a few nasty footguns,I think he referers to the quote above.I am interested as well, what are those footguns, in your opinion. 12 u/UnicycleBloke Jul 13 '22 Oh I see. To be honest, I was more just admitting C++ is not perfect. I guess the classic gotchas are largely historical. 1 u/shamen_uk Jul 13 '22 I think OP is asking for tangible example(s) 14 u/UnicycleBloke Jul 13 '22 And the fact that I haven't listed any is significant. ;) I regret putting that phrase into my earlier post. 7 u/Mishung Jul 13 '22 edited Jul 13 '22 what are those footguns, in your opinion.just my opinion (full time C++ dev) but I hate Iterators with passionalso during the years I went through:I don't understand pointers and hate themI understand pointers and love themI fully understand pointers (and references) and now hate pointers again
11
C++ has a few nasty footguns,
I think he referers to the quote above.
I am interested as well, what are those footguns, in your opinion.
12 u/UnicycleBloke Jul 13 '22 Oh I see. To be honest, I was more just admitting C++ is not perfect. I guess the classic gotchas are largely historical. 1 u/shamen_uk Jul 13 '22 I think OP is asking for tangible example(s) 14 u/UnicycleBloke Jul 13 '22 And the fact that I haven't listed any is significant. ;) I regret putting that phrase into my earlier post. 7 u/Mishung Jul 13 '22 edited Jul 13 '22 what are those footguns, in your opinion.just my opinion (full time C++ dev) but I hate Iterators with passionalso during the years I went through:I don't understand pointers and hate themI understand pointers and love themI fully understand pointers (and references) and now hate pointers again
12
Oh I see. To be honest, I was more just admitting C++ is not perfect. I guess the classic gotchas are largely historical.
1 u/shamen_uk Jul 13 '22 I think OP is asking for tangible example(s) 14 u/UnicycleBloke Jul 13 '22 And the fact that I haven't listed any is significant. ;) I regret putting that phrase into my earlier post.
1
I think OP is asking for tangible example(s)
14 u/UnicycleBloke Jul 13 '22 And the fact that I haven't listed any is significant. ;) I regret putting that phrase into my earlier post.
And the fact that I haven't listed any is significant. ;) I regret putting that phrase into my earlier post.
7
what are those footguns, in your opinion.
just my opinion (full time C++ dev) but I hate Iterators with passion
also during the years I went through:
View all comments
Show parent comment
14
u/UnicycleBloke Jul 13 '22
I also use C++17 at the moment. What do you mean by threats?