3 ms·
I dunno. The massive amount of comments necessary to make this code remotely understandable is pretty telling.
by yoz-y 9y ago
I dunno. The massive amount of comments necessary to make this code remotely understandable is pretty telling.
- _sdegutis 9y agoAnd 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...
- bluedino 9y agoIt's more explaining how the whole OS X application model works than the code itself.