String Buiding The Complete Works of Shakespeare
I was recently looking at some of the top selected answers for this problem on code wars and noticed a lot of string concatenation happening. While this may be pragmatically ok for small toy examples, if you are going to use string concatenation in a for loop iterating over anything but a small set, you’re probably going to have a bad time. To highlight this problem, imagine this contrived program that:...