- #1
- 4,774
- 3,830
from programming long ago?
Klystron said:I tried to relate a few hexadecimal jokes before but they fell flat.
_ _
((___))
[ x x ]
\ /
(' ')
(U)
Sure, and there are many more as well. We used these values when we needed something that would stand out in a hex dump (either scanning visually or searching), or a recognizable sentinel valuejim mcnamara said:from programming long ago?
I had to look up DEADBEEF when I first stumbled on this thread and I found the following interesting list:Nugatory said:Sure, and there are many more as well.
DEADBEEF is a hexadecimal value often used as a placeholder or test value in computer programming. It is commonly used because it is easy to remember and visually distinguishable.
DEADBEEF is used in programming as a placeholder value or for testing purposes. It is not a valid instruction or data, so it can easily be identified and replaced with the correct value later on.
The origin of DEADBEEF as a placeholder value is not definitively known. Some speculate that it may have originated from the use of hexadecimal values in early programming, where the letters D and B were used to represent the numbers 13 and 11 respectively.
While DEADBEEF is not used as frequently as it was in early programming days, it is still used as a placeholder or test value in some modern programming languages and environments.
Yes, there are other common placeholder values in programming, such as FOO, BAR, and BAZ. These values are also used because they are easy to remember and visually distinguishable.