In computer programming , we have a term Hard coding which means putting a fixed value in the code which can be changed only by the programmer. So when a program's requirement changes , the code cannot adapt and hence program fails to do its job. Hence we programmers are given explicit instructions : Avoid Hard coding wherever possible. Program should be coded in such a way that it satisfies the requirement irrespective of any change which can occur in input.
Now how does this relate to advice ?