I'm not really sure what is the best/canonical approach in terms of using String, str, a reference, or some combination of traits for string arguments. Research what is conventional, and experiment with what makes sense, and then chose a consistent pattern to use.
I'm not really sure what is the best/canonical approach in terms of using String, str, a reference, or some combination of traits for string arguments. Research what is conventional, and experiment with what makes sense, and then chose a consistent pattern to use.