Answer: It is a programmer joke.
The actual tweet is made by a US Political candidate which isn’t relevant to the answer but is necessary for the backstory.
In computer programming, a ‘string’ is basically a sequence of characters. I can have a string called str and have its value be whatever I want. The technicalities will differ based on language but as a high level concept that is what it means.
That tweet 1+2=12 was shared on multiple forums, including r/ProgrammerHumor
The + sign can be used to combine two strings. Like “foo” + “bar” can equal “foobar”. Just like that 1+2 can become 12 if you were to look at it like combining two strings together.
Latest Answers