What are “magic numbers” in computer programming?

In general, this is a really good answer…about magic constants. But “magic number” can also refer to special constants in file formats, debugging constants, etc. At the very least, I think it’s important to make it clear that the magic numbers you’re talking about are only one type of magic number, even from a “programming point of view”. –

Read More