Re:2 is a code smell
by cpeterso on Wednesday October 12, 2011 @03:13PM
(#3104125)
In my code, I limit my hardcoded constants to 0, 1, -1, and '\0'. Any other numbers, I give it a named constant, even if it's just defined in a local function scope.
[ Parent
| on HN ]
There are no comments on this comment yet.