Garbage collecting the C++ Standard since 2011

Joined October 2014
So it looks like this year’s ear worm is going to be a JPop/Thai metal/rap fusion about papaya salad. I’ve suffered from worse.
1
0
2
Alisdair Meredith retweeted
The difference between experience and knowledge:
59
2,498
11,751
I love/hate test drivers. Today's recreational project: a full `constexpr` implementation of `std::any`. Passes all my tests through both `constexpr` and `consteval` functions. Everything unravels when I change the global variable from `constinit` to `constexpr`...
0
0
3
Alisdair Meredith retweeted
Pros of polyglot: - you get to pick the best tools and libraries for each task Cons: - brittle when it comes to interfaces and data models (can be overcome with some tooling) - higher (maybe unnecessarily high) barrier for collaboration - double the language-specific shenanigans
4
1
14
Show this thread
What?! Did this ever work? When did this ever work?! How did this ever work?! Why did this ever work?! Who did this?! How much will I bet against “I did this”?
1
0
12
Alisdair Meredith retweeted
I don't know who needs to hear this but stop disabling that failing test. Look closer, it's trying to tell you something.
76
186
1,259
Alisdair Meredith retweeted
My recommendation: treat comments like code both need to be maintained; if comments are outdated/inaccurate, it can cause problems the same as bugs can just as you consider your options carefully before writing hard-to-maintain code, consider carefully before writing comments
"YoU DoN't NeeD tO CoMmEnT WelL wRitTeN CoDe" Good luck figuring out what your regex does in 6 months without comments!
5
5
19
Alisdair Meredith retweeted
A simple visual proof that: 1+2+3+...+n = (n²+n)/2 ⚪ ⚫⚫⚫ ⚪⚪ + ⚫⚫ ⚪⚪⚪ ⚫ = ⚪⚫⚫ ⚫ ⚪⚪⚫ + ⚫ ⚪⚪⚪ ⚫
41
679
4,003
Alisdair Meredith retweeted
This is really cool. It's Saturday night so I'm not going to do any complex acoustic analysis here, but I have some auditory impressions about why the audio here can be interpreted in two different ways. (Mini-thread incoming!) /1
Blows my mind...
15
86
253
Show this thread