social.outsourcedmath.com

Hank G ☑️ friendica (via ActivityPub)
TIL that C/C++ has alternative mappings for standard symbols like "{" and "}" for developers on computers whose character sets didn't encompass all the characters. Fascinating! Example attached. Almost looks like PHP 😀 #retrocomputing #programming en.cppreference.com/w/cpp/language…
2 people reshared this
"...didn't encompass all the characters." sounds like standard ASCII where one had to use machine control area to generate special graphics, and then Extended ASCII was invented then used in concert with ANSI. A larger byte size was ordered, then came Unicode. Luv it. Of course this had an impact on what could be done with higher level coding languages.
Hank G ☑️ friendica (via ActivityPub)
@Clara Listensprechen Yeah it came up in a retrocomputing forum post about how to do C on a Commodore PET when it didn't have curly braces in its character set.
Hank G ☑️ friendica (via ActivityPub)
BTW doing this on modern machines falls under the category of:
Really, the only special characters you should ever need are the left and right parentheses, and also the Greek letter lambda.
You obviously haven’t followed the IOCCC.
Mark Miller diaspora
When I used to do C programming on my Atari 8-bit, it didn't have { and } keys. So, the compiler, based on Tiny C, had programmers use $( and $) for brackets.

This website uses cookies to recognize revisiting and logged in users. You accept the usage of these cookies by continue browsing this website.