Magic number (programming)
id:
magic-number-programming-203-16238045
title:
Magic number (programming)
text:
In computer programming, a magic number is any of the following:
- A unique value with unexplained meaning or multiple occurrences which could (preferably) be replaced with a named constant
- A constant numerical or text value used to identify a file format or protocol
- A distinctive unique value that is unlikely to be mistaken for other meanings
brand slug:
wiki
category slug:
encyclopedia
description:
Sequence of bytes used to identify or indicate the format of a file
original url:
https://en.wikipedia.org/wiki/Magic_number_(programming)
date created:
2003-10-30T09:20:00Z
date modified:
2024-09-09T18:16:38Z
main entity:
{"identifier":"Q284099","url":"https://www.wikidata.org/entity/Q284099"}
image:
fields total:
13
integrity:
15