<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 13.02.13 14:17, Daniel Holth wrote:<br>
    </div>
    <blockquote
cite="mid:CAG8k2+7md-z0S=ytdebr-d7RnComOz-NY-OaiPXinLsVcDS8Qg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On Wed, Feb 13, 2013 at 7:10 AM,
            Serhiy Storchaka <span dir="ltr"><<a
                moz-do-not-send="true" href="mailto:storchaka@gmail.com"
                target="_blank">storchaka@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="im">On 13.02.13 10:52, Larry Hastings wrote:<br>
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  I've always hated the "".join(array) idiom for "fast"
                  string<br>
                  concatenation--it's ugly and it flies in the face of
                  TOOWTDI.  I think<br>
                  everyone should use "x = a + b + c + d" for string
                  concatenation, and we<br>
                  should just make that fast.<br>
                </blockquote>
                <br>
              </div>
              I prefer "x = '%s%s%s%s' % (a, b, c, d)" when string's
              number is more than 3 and some of them are literal
              strings.<br>
            </blockquote>
            <div><br>
            </div>
            <div>Fixed: x = ('%s' *  len(abcd)) % abcd<br>
            </div>
          </div>
        </div>
      </div>
      <br>
    </blockquote>
    <br>
    Which becomes in the new formatting style<br>
    <br>
        x = ('{}' *  len(abcd)).format(*abcd)<br>
    <br>
    hmm, hmm, not soo nice<br>
    <pre class="moz-signature" cols="72">-- 
Christian Tismer             :^)   <a class="moz-txt-link-rfc2396E" href="mailto:tismer@stackless.com"><mailto:tismer@stackless.com></a>
Software Consulting          :     Have a break! Take a ride on Python's
Karl-Liebknecht-Str. 121     :    *Starship* <a class="moz-txt-link-freetext" href="http://starship.python.net/">http://starship.python.net/</a>
14482 Potsdam                :     PGP key -> <a class="moz-txt-link-freetext" href="http://pgp.uni-mainz.de">http://pgp.uni-mainz.de</a>
phone +49 173 24 18 776  fax +49 (30) 700143-0023
PGP 0x57F3BF04       9064 F4E1 D754 C2FF 1619  305B C09C 5A3B 57F3 BF04
      whom do you want to sponsor today?   <a class="moz-txt-link-freetext" href="http://www.stackless.com/">http://www.stackless.com/</a></pre>
  </body>
</html>