Forbidden C++

preview_player
Показать описание
The unimaginable evil of C++ is unleashed. Be afraid. Global Variables, Macros, Void*, Goto, Namespace STD, New & Delete, all the tools every C++ programmer needs... right?

Рекомендации по теме
Комментарии
Автор

Hello! During these miserable times, I hope this raises a few smiles. Anyway, take care of yourselves, and don't forget those that may need some additional help. Keep washing those hands!

javidx
Автор

intro is clearly fake... everyone knows programmers don't go outside.

veda-powered
Автор

"Sir, why are you walking around with a hoodie and a shovel in the middle of the night?"


"Uhhh umm uhhh just making a programming video"

mr
Автор

14:47 Way back when I first learned C++ (in college), I wrote an assignment with a goto for clean-up. My professor forced me to re-write it even though there was absolutely nothing wrong with my usage (he admitted so himself).

So, I re-wrote it using a recursive function. He hated that even more. :)

codeman-dev
Автор

2:07 Global Variables
8:11 Macros
12:40 Goto
16:27 (void *)
22:23 using namespace std
27:31 new & delete

BerkaySoyluoglu
Автор

I appreciate this video a lot. Because it doesn't just parrot "Don't EVER do these things" but actually gives examples why, but also gives a case or to where they actually make sense.

Archimagus
Автор

#define true (rand() % 100 < 98)

This is just pure evil

subcivil-youtubechannel
Автор

Probably the greatest intro I'll ever see for a coding video

usmanahmed
Автор

who else expected one of their github repos to come out of the box XD

Digidan
Автор

Me opening my IDE at 3am without a dark theme 1:05

chrisbartlett
Автор

“Processors from the 80s, no one is going to be interested in that surely?”
*cries in embedded hardware*

OnboardG
Автор

Timestamps:
2:00 Global variables
8:00 Macros
12:36 Goto
16:20 Void *
22:17 Using namespace std
27:19 New and Delete

renhoeknl
Автор

"...And within lies the most heinous and evil forms of C++ code ever known. Would you like to look inside?"

*Cut to my C++ code*

thepuzzlemaker
Автор

the c++ dark side "box" is actually very bright when opened

SelyHaudy
Автор

TL;DW: The C++ community's failing attempts to erase the C from C++.

easyaspi
Автор

This seems very interesting, you actually cover the bad and good usecases for methods as well, I love that.

C_Corpze
Автор

As a programmer who is quite inexperienced with C++, this was an extremely informative and easy-to-understand video. I'll definitely be coming back to your channel in the future. Thank you. :)

Nytra_
Автор

2 minutes in and i just want a whole series like this.

addvert_br
Автор

Best macro ever:

#define private public

jimfcarroll
Автор

Void* brings up bad memories for me. In one of my classes we had to finish programs to implement various algorithms, but the person who wrote the pre-written parts loved to use void*, even when the type was very clear and essentially always the same. This lead to all kinds of casting problems.

BernardBernouli