Ross McKay <[EMAIL PROTECTED]> wrote:
> Find out what "bad" is by reading this:
>
> http://thedailywtf.com/Series/CodeSOD.aspx
>
> Then, don't do it like that!

What I enjoyed most on that page was this comment:

> One day, after a code review by one of our 'senior' developers this little 
> beauty showed up...
> #define NUMBER_OF_BITS_IN_BYTE 8
> The justification was... that the byte might change.... and no 'magic' 
> numbers should appear in the code...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to