The best string concatenation operator:
5
Replies
1
Boost
There’s only one wrong answer here, and it’ll be the most popular one.
@futzle INTERPOLATION FOREVER*
*well no strings are evil and must be abolished.
@abstractcode @futzle strings are just a sequence of bytes of a defined length
@jpm @abstractcode @futzle or not a defined length, but terminated by a null character ;-)
@david @abstractcode @futzle oh hell no. C strings with a null terminator were an even worse mistake than using + to concatenate strings. So many buffer overflow bugs could have been avoided by using bytes + length rather than null-terminated.