News for hackers. Stuff that matters.
Re:What is a magic number, and why is it bad? by timje1 on Wednesday August 28, 2013 @11:25AM (#6290560)
Once the software's working, and has been for several years, and it has become unmaintainable because lax guidelines let this stuff through, this sort of thing becomes your real problem.
Re:What is a magic number, and why is it bad? by xyzzy123 on Wednesday August 28, 2013 @12:23PM (#6290991)
Nah, ubiquitous session re-use, bad APIs, arbitrary data structures (e.g everything in complex sets of nested arrays), hardening of code against static analysis (e.g. database lookups to instantiate classes at runtime) rate way higher on my scale.

Local use of magic numbers (across 1 file) don't bother me any more, although I will recommend fixing them when I find them.