計算機中的「魔數」(magic number)
阿新 • • 發佈:2019-02-11
In computer programming, the term magic number has multiple meanings. It could refer to one or more of the following:
- A constant numerical or text value used to identify a file format or protocol; for files, see List of file signatures
- Distinctive unique values that are unlikely to be mistaken for other meanings (e.g.,
- Unique values with unexplained meaning or multiple occurrences which could (preferably) be replaced with named constants