3 ms·
And in one file there was a magic number #1536 or something, never got explained.
by _sdegutis 9y ago
And in one file there was a magic number #1536 or something, never got explained.
- tomsmeding 9y agoOof, that would have been hard. ;) More seriously, the "rule against magic constants" makes sense in many circumstances, but there are limits.
- exikyut 9y agoExplanation in the form of breadcrumbs: 1. https://github.com/kliment/Printrun/issues/619#issuecomment-102119718 https://github.com/kliment/Printrun/issues/619#issuecomment-... then 2. https://github.com/gnustep/libs-corebase/blob/master/Headers/CoreFoundation/CFString.h#L78 https://github.com/gnustep/libs-corebase/blob/master/Headers...