CppCon 2016: Timur Doumler “Readable C++'

preview_player
Показать описание


Lightning Talk


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

Agree. C++ standard library is missing many basic functionality. It keeps growing but it is a very slow process.
Another big problem are unclear and huge error messages produced by mistakes in template usage. But I still love c++ :)

OneCodeCZ
Автор

I love the negative indent in that FORTRAN code. Scientific code is all like that. This is how it was since the beginning of time.

alexeiz
Автор

Technically the last slide is wrong because mt19937 has 768 unsigneds worth of state and random_device only really seeded 1 of them. The correct code for seeding that mt19937 is even longer :(

isodoubIet
Автор

I started learning programming with c++, and twenty years later, I feel the same frustration that this man explained.

videojeroki
Автор

std::basic_string has 10 .replace() overload but none that would accept ("foo", "bar"), there is no n->n characters replacement.

We got finally .contains() for maps and .starts/ends_with() though

Xeverous
Автор

Something odd about that punched card. Why are the printed numbers missing at all the hole sites?

fburton
Автор

The new random facilities are not a good example because they are this - facilities to make your own api-s. They are not a straight replacement of old c functions. To have a simpler api ontop this is easy to write IF know what you need and where you need it. But it is very hard to write it if you don't know what the user needs. Even simple things like randomInt() rises questions - is it application global? or thread - global? Or may be should be a class? This slowly turns into library of its own.

YourCRTube
Автор

His accent makes "juce" sound like "jews" and some sentences are pretty funny.

spookyghost
Автор

Anyone else here who actually had a programming job using a card punch?

JiveDadson