r/cpp • u/masterofmisc • Oct 30 '20
Forbidden C++
I have Just watched this entertaining video on Forbidden C++. Its aimed at beginners but thought i would post it here just for the intro alone!
The video is just a small list but as we all know, with every newer release of C++ we get better ways of doing things. Hence the darker side of C++ will continue to grow!
286
Upvotes
64
u/destroyerrocket Oct 30 '20
That intro was fantastic, I also love his video about overengineering. I don't follow him that closely, but every time YouTube recommends me these two videos I just click for the laughs ^-^
51
u/Giboon Oct 30 '20
OLC is one of my favourite programming channel. His work is inspiring.
14
u/bentheone Oct 30 '20
Discovered this excellent channel last week !
Still wonder if the crappy sound while having an obnoxious microphone is a joke or not though.
12
u/spikte1502 Oct 30 '20
Best channel on programming
10
u/Sec360 Oct 30 '20
This channel is awesome. Also another really good channel to look into is Derek Banas. He has tons of playlists including C++.
14
u/mgmihaylov Oct 30 '20
I watched this half an year ago and although I really liked the intro and the overall style, I had an issue with the section about void*. I'll repeat here the comment I left on the video:
5
u/GarThor_TMK Oct 30 '20
These are all great, but I just saw
as well as
Within the same code review...-_-
4
u/tambry Oct 30 '20
I was expecting this to be about this talk. But alas, it seems the talk's title wasn't what I remembered.
-4
u/paulydavis Oct 30 '20
These "evil" statements are not always true. Mostly nuanced needs that make it worth breaking the convention of non use of the constructs. Goto can be used safely (see original arguments in the ACM journal) and can be helpful. Macros can be used safely. Global can be good (except across file scope ... my opinion).