- 1
What is a hard code in a function?
function abc(id){ $("#somevalue" + id).someevent(); } is there anything called hard code in this function?
2 Answers
+ 5
Hard coding (also hard-coding or hardcoding) is the software development practice of embedding an input or configuration data directly into the source code of a program or other executable object, or fixed formatting of the data, instead of obtaining that data from external sources or generating data or formatting in the program itself with the given input.
- 1
somebody said this is hard code if you contactnate anything in passed value which is currently your "id"