I want to get something off my chest. I’ve been spending today doing house chores while listening to technical videos and podcasts. After my Clubhouse experiment yesterday, I’m thinking critically about how we expect developers to learn and grow. And... it’s a mess y’all.
There are two types of C++ jokes
1. Initialization jokes
2. The jokes that get confused for ascii art
[[]]([]()[[]]{}={})();
0x80000000. Undefined behavior jokes
0x80000001. Code that no one understand and are ascii art
#cplusplus
#119 Given the following in C++20:
using C=const char*;
template<class T, T p>
class X{};
X<C,"Hi"> x1;//A
char p[]="Hi";
X<C,p> x2;//B
struct A{constexpr A(C){};};
X<A,"Hi"> x3;//C
W/o checking, which is invalid:
A. A
B. B
C. C
D. See results
#Cplusplus#Cpppolls#Cpp20
#119 Given the following in C++20:
using C=const char*;
template<class T, T p>
class X{};
X<C,"Hi"> x1;//A
char p[]="Hi";
X<C,p> x2;//B
struct A{constexpr A(C){};};
X<A,"Hi"> x3;//C
W/o checking, which is invalid:
A. A
B. B
C. C
D. See results
#Cplusplus#Cpppolls#Cpp20
Another reveal.js newbie problem: How can I print/export slides with speaker notes? That will allow my online audience to follow my talk better, if there are audio problems. So far I got all notes clobbered together in a narrow column on the right.