magic number
võlunumber
olemus
sõltub kontekstist:
(1) nimeta konstant lähtekoodis
(2) = failisignatuur
(3) = GUID
(4) vorminguindikaator failis või protokollis
(5) liik silumisväärtusi
(6) andmetüübi piir
+ rida muid
näiteid
Wiktionary:
3. (computing)
3.1. a number which is manually entered into source code, rather than defined somewhere as a named constant; especially one which is arbitrary or lacks explanation
We replaced the magic number 31 with a constant called MAXDAYSINMONTH.
3.2. a sentinel value which cannot occur in normal use, typically used as a placeholder (e.g. a fictitious date such as 2000-02-32)
3.3. a hash code, such as those used by some webmail servers to keep track of sessions
3.4. a number or pattern in a binary file that identifies the filetype_
ülevaateid
https://en.wikipedia.org/wiki/Magic_number_(programming)
https://en.wikipedia.org/wiki/Magic_number
https://www.kernel.org/doc/html/v4.12/process/magic-number.html