James McNellis - my favorite C++ feature - Secret Lightning Talks - Meeting C++

preview_player
Показать описание
James McNellis - my favorite C++ feature - Secret Lightning Talks - Meeting C++
Рекомендации по теме
Комментарии
Автор

Remember folks, friends don't let friends become three-star c programmers!

NotDerekSmart
Автор

you can do this with templates in C++. The way he did it was a C feature. and it’s called a Closure.

intrexballistica
Автор

He got the inspiration for this talk by having a code review at work the other week?

gast
Автор

man this was really funny but also scary if you do C++

SepehrHadizadehmoghaddam
Автор

The thing that would be beautiful would be typedef, so there are some actual type names. 😉

pmcgee
Автор

Great talk!

The channel and extra video links at the end ruin the last slide though

UnrealOrnament
Автор

I like pointers, and I'm used to not have problems with them. However, g++ (gcc for C++) made something terrible it never had before (and I'm talking about ten years): allowed me to access the content of a nullptr. It was the 1st time it didn't crash imeadiately. It was a very hard bug to catch.

MrAbrazildo
Автор

I guess the best thing about C++ came from C: the philosophy of conciliate opposite things about computers. Things like speed vs memory consumption, concisible vs readable code, and others.
Plus, OO is actually a big improvement from C.
But talking about some technical feature, I guess I would stay with macros, which I work with a lot, despite all the efforts to replace its _modus operandi_ .

MrAbrazildo
Автор

This is not modern c++, and is ugly. using auto can nicely doing all the stuff.

avisditiu