Less variable Lazy Evaluation

Less variable Lazy Evaluation
Declaration of the variable is very important. If you declare the variable you want to declare first in the less file. If you called the variable value first in the less file and after the variable, call you can declare the variable mean it will lazy to access. So you must declare the variable first and then you can access the variable in the inside the file.

See the example:
Don’t do like this it will slow the down and less file will lazily in response.

body{
font-size:@mainFont;
padding:2px;
}
@mainFont: @font;
@font: 14px;

You must declare the variable first and they you can access the variable. Both of them will give the output, but it will slow down the process.
Copyright Labw3