My only thought is that the author of this concatalicious line of code is severely overbuilding (so that parts of this message could be replaced with variables in the future) or that they have been smacked in the forehead with a hammer a few times by someone who was singing the praises of System.Text.StringBuilder
Wednesday, February 24, 2010
System.Text.StringDestroyer
string mszErrorMessage = "Error: " + "An Error Occurred In the " + "module (" + aexLocalException.Source + ")." + "\r\nPlease report this " + "error " + "to a system administrator." + "\r\nYou may not recover from " + "here " + "and must start the function (" + aszFunctionName + ") " + "over from the beginning.";
My only thought is that the author of this concatalicious line of code is severely overbuilding (so that parts of this message could be replaced with variables in the future) or that they have been smacked in the forehead with a hammer a few times by someone who was singing the praises of System.Text.StringBuilder
while administering said hammer taps.
My only thought is that the author of this concatalicious line of code is severely overbuilding (so that parts of this message could be replaced with variables in the future) or that they have been smacked in the forehead with a hammer a few times by someone who was singing the praises of System.Text.StringBuilder
Labels:
Code,
Overbuilding
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment