What is a magic number, and why is it bad?

Posted by Adam Davis on Stack Overflow See other posts from Stack Overflow or by Adam Davis
Published on 2008-09-06T22:24:24Z Indexed on 2010/06/02 3:13 UTC
Read the original article Hit count: 280

What is a magic number?

Why should it be avoided?

Are there cases where it's appropriate?

© Stack Overflow or respective owner

Related posts about best-practices

Related posts about subjective