Re:What is a magic number, and why is it bad?
by pivnicek on Wednesday August 28, 2013 @11:46AM
(#6290711)
What really is the difference you are achieving? Are you going to redefine zero?
[ Parent
| on HN ]
Re:What is a magic number, and why is it bad?
by simias on Wednesday August 28, 2013 @11:49AM
(#6290732)
That reminded me of that fun FORTRAN piece of trivia:
http://everything2.com/title/Changing+the+value+of+5+in+FORT...
"""A candidate for the title of "Strangest Thing in Computer Science" would be the fact that FORTRAN lets you change the value of what appear to be unalterable numbers. Plato would roll over in his grave.
I have heard rumors that later FORTRAN compilers had this "capability" designed out. But the venerable FORTRAN IV and FORTRAN 77 allowed you to do it"""