Bitwise Uppercase to Lowercase
*p+++=0x20, for when you are converting an uppercase string to lowercase.
A programming joke shows the expression “*p+++=0x20” as a supposed way to convert an uppercase string to lowercase. It references ASCII character codes, where adding hexadecimal 0x20 changes uppercase letters to lowercase, while the pointer increment makes the syntax absurd and error-prone. It is shared as a reaction to overly clever or cursed code. EN: A programming joke shows the expression “*p+++=0x20” as a supposed way to convert an uppercase string to lowercase. It references ASCII character codes, where adding hexadecimal 0x20 changes uppercase letters to lowercase, while the pointer increment makes the syntax absurd and error-prone. It is shared as a reaction to overly clever or cursed code.
- @ithueti / 763 2019-04-01
- Type
- image
- Size
- 699×162 · 18.9 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added