News for hackers. Stuff that matters.
Re:Java StringBuffer and StringBuilder performance by Tharkun on Monday June 13, 2016 @02:10PM (#11895896)
That's nonsense. I can't think of any realistic examples in which it would be useful for multiple threads to write to the same StringBuffer.

You might as well sprinke random and pointless synchronized blocks around your code. The magical synchronization fairy will give you a false sense of correctness.

Re:Java StringBuffer and StringBuilder performance by im3w1l on Tuesday June 14, 2016 @05:40AM (#11900828)
Some kind of logging maybe?
Re:Java StringBuffer and StringBuilder performance by Tharkun on Tuesday June 14, 2016 @10:01AM (#11902053)
What? How would that work? Why would you log to a string? Log to a file, or a network, or a pipe.