String Manipulation DSL’s
Mats comments on my previous post:
“But I guess what I’m saying is that the code for inserting that string using just strings may look even worse when you come back to look at it a week later…”
If your thinking that I’m talking about code like:
StringBuilder sb = new StringBuilder();
sb.Append(”xxx - yyy [somevar] zzz”);
Response.Write(sb.ToString().Replace(”[somevar]“,”somevalue”));
Then I’d agree. [...]