News for hackers. Stuff that matters.
Re:Learn C and build your own Lisp by theseoafs on Friday April 04, 2014 @11:40AM (#7532075)
Programmers that replace 0 with ZERO, 1 with ONE, and 2048 with TWENTYFORTYEIGHT are severely misunderstanding why magic numbers are a bad thing in the first place. TWENTYFORTYEIGHT means exactly the same thing as 2048 (that is to say, TWENTYFORTYEIGHT means roughly nothing), but replacing 2048 with a symbolic constant that actually means something (say, BUFFER_SIZE) is a good idea.

There are no comments on this comment yet.