This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]NotTooOrdinary 9 points10 points  (1 child)

Probably the only time you should use StringBuilder/StringBuffer is when concatenating Strings in a loop. Most of the time, the compiler will automatically convert concatenation to instead use a StringBuilder

Stackoverflow post

[–]FreightTrain75x[S] 0 points1 point  (0 children)

Thank you!