Re:Strings Are Evil
by usea on Wednesday June 20, 2018 @02:06PM
(#17357951)
I've written that logging code, and over the years I've used both the StringBuilder and Aggregate styles. I've discovered that string.Join(", ", list) is a great fit for this, too. It's as quick as using StringBuilder, and also concise and composable (tastes may vary).
[ Parent
| on HN ]
There are no comments on this comment yet.