Constants and variables: what is the real difference?

Sunday 2 December, 2007

It seems obvious, but some escape the subtle difference between constant and variable in a programming language. The constant, named after himself, do not change their value during the course of a program, while the variables can do it! But often, happen to use variables instead of constants without realizing it, because this impacts not the logic of an application. Despite this, the difference between constant and variable and there emerges when all establishment, where the constant plays a role far more efficient.

Continue to read ... "

Related Post