<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 11, 2014 at 11:55 AM, Todd <span dir="ltr"><<a href="mailto:toddrjen@gmail.com" target="_blank">toddrjen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="adM"><div class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">In my experience, it is the asymmetry between x.join(y) and x.split(y) which causes most of the confusion. In x.join(y), x is the separator and y is the data being joined, but in x.split(y), it is the other way around. </div>
</div></blockquote><div><br></div></div></div><div>What would be the solution to this? </div></blockquote></div><br>Allow sum(list_of_strings, '') and stop mocking people who prefer it to ''.join(..). This will not solve all the issues with join/split, but at least a simple task of concatenating a list of strings will have a more or less obvious solution.</div>
</div>