News for hackers. Stuff that matters.
Re:What is a magic number, and why is it bad? by radio4fan on Wednesday August 28, 2013 @01:38PM (#6291446)
The primary purpose of the DATA statement is to give names to constants; instead of referring to pi as 3.141592653589793 at every appearance, the variable PI can be given that value with a DATA statement and used instead of the longer form of the constant.

This also simplifies modifying the program, should the value of pi change.

-- Early FORTRAN manual for Xerox Computers

There are no comments on this comment yet.