News for hackers. Stuff that matters.
Re:What is a magic number, and why is it bad? by a3voices on Wednesday August 28, 2013 @11:44AM (#6290693)
I agree, but they should be guidelines, not rules. Messy code is one extreme, and having perfect-looking code is the other. Clearly there's a balance somewhere.
Re:What is a magic number, and why is it bad? by recursive on Wednesday August 28, 2013 @12:05PM (#6290850)
Having perfect looking code has very little drawback.
Re:What is a magic number, and why is it bad? by xyzzy123 on Wednesday August 28, 2013 @12:20PM (#6290971)
It takes time to polish, and over-DRY is a kind of disease.