My way has the benefit of bending the rule without breaking it. After all, we weren't told to not allocate memory, we were told to not create another string.