Methods 1 and 2 are much better for bigger projects, because you can easily change the value of the constant one place. Method 1 may be especially good for very big projects with many files, but is not really necessary for smaller projects.
In method 3, you have to search through every line of code to find the value you want to assign to (if you assign it more places). Therefore, I think it is bad to use this.