Tom Honermann (@tahonermann) profile picture

Husband, father of two awesome boys, C++ minion, emeritus chair of the WG21 SG16 Unicode and text processing study group.

Joined April 2013
Photo by Tom Honermann (@tahonermann)Photo by Tom Honermann (@tahonermann)
Well folks, that will do it for me. I’m signing off of Twitter for the foreseeable future. Maybe I’ll be back someday if the situation improves. Hope to find you all somewhere else.
The people have spoken. Trump will be reinstated. Vox Populi, Vox Dei.
1
1
My sister routinely calls me by her son's name, and her son by my name. Has been going on for literally decades. What brain mechanism causes this? 😖
5
2
3
8
Do you like very modern C++? Do you want to work in deep-embedded systems? Have you always wanted to work with me? If you answered yes to any of the two above, you should apply here: jobs.intel.com/ShowJob/Id/34…
5
13
1
76
(in the style of @shafikyaghmour) Tom's #1: Given the following in C2x or C++11: #include <stdio.h> int f(int x, int ת) { return x - ת - 1'2'3; } int main() { printf("%d\n", f(321, 123)); } Without checking, what output is produced?
3%123
6%75
51%-123
40%See Results
426 votes • Final results
10
6
1
41
Hmm, Twitter seems to have discarded the LTR mark I inserted; it looked right when I posted it. Substituting <tav> for the problematic character, that return statement should be: return x - 1’2’3 - <tav>;
2
And I still managed to get that wrong. Sigh. The return statement that the compiler sees is: return x - <tav> - 1’2’3;
Consider the diagnostics issued by gcc, clang, and MSVC at godbolt.org/z/MM1xE5dM1. Each compiler misaligns the carat with the identifier it is intended to highlight. This is because the diagnostic presentation does not compensate for the right-to-left source code display. 10/11
1
1
Tom Honermann retweeted
School shootings since 1998: Thurston High School Columbine High School Heritage High School Deming Middle School Fort Gibson Middle School Buell Elementary School Lake Worth Middle School University of Arkansas Junipero Serra High School Santana High School
208
1,600
643
3,394