What are 0xcafe, 0xC0FEE, and others seen in every tutorial? #204
-
Discord user IDjulizamt Describe your question in detail.What are 0xcafe, 0xC0FEE, and others seen in every tutorial? Are they special addresses anyhow or just placeholders? What error, if any, are you getting?No response What have you tried or looked at? Or how can we reproduce the error?N/A Which operating system are you using?Windows Which SDK or tool are you using? (if any)TypeScript SDK Describe your environment or tooling in detailNo response |
Beta Was this translation helpful? Give feedback.
Answered by
gregnazario
May 15, 2024
Replies: 1 comment 2 replies
-
These are just placeholders. When I used to do computer hardware, we often used some fun "hex words" that can be used as an easy to recognize placeholder. The docs often refer to either:
And plenty more https://en.wikipedia.org/wiki/Magic_number_(programming)#Debug_values |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
0xmaayan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These are just placeholders. When I used to do computer hardware, we often used some fun "hex words" that can be used as an easy to recognize placeholder.
The docs often refer to either:
0x42
Hitchhikers guide0xCAFE
or0xcafe
-> Like a Cafe0xC0FFEE
or0xC0FEE
-> Like a cup of Coffee0xDEAD
,0xBEEF
or0xDEADBEEF
0xB0B
0xA11CE
0xBAD
And plenty more https://en.wikipedia.org/wiki/Magic_number_(programming)#Debug_values