Similar to Is hard-coding literals ever acceptable?, but I\'m specifically thinking of \"magic strings\" here.
On a large project, we have a table of configuration o
If I use a string once in the code, I don't generally worry about making it a constant somewhere.
If I use a string twice in the code, I'll consider making it a constant.
If I use a string three times in the code, I'll almost certainly make it a constant.