Bug or feature: double strings as one

r rt8396 at gmail.com
Fri Aug 7 20:54:40 EDT 2009


It sure doesn't get any more obivous than...
  "string1" + "string2"

Although i much prefer string formatting to concatenation for almost
all cases except the most simple. This auto-magic conacatenation of
strings is unintuitive and completely moronic if you ask my opinion. I
blow chunks when i see this type of code, and the result from it, and
so should my interpretor!
  "string1" "string2" --> syntax error you moron!

If you are wanting to create shortcuts, do them where they make sense
and can serve a useful purpose...

t = ('1' "word" 33.3)
l = [1 2 3 (4 5)]
d = {keyname:value keyname:value etc...}

KISS people!



More information about the Python-list mailing list