Message230163
Implicit string literal concatenation where
"string1" "string2"
becomes
"string1string2"
should be a language syntax error - not a feature.
This creates a silent error whenever someone builds a list of strings and forgets a comma.
I can't think of any good reason why the language supports this. There are easier ways to build multi-line strings and there are already two explicit ways to do this on a single line.
It also violates the python principle:
"There should be one— and preferably only one —obvious way to do it"
I realize changing this might break someone's code. If that is a large concern, maybe the interpreter could support an option to enable/disable support for this. |
|
Date |
User |
Action |
Args |
2014-10-28 18:04:40 | aklish | set | recipients:
+ aklish |
2014-10-28 18:04:40 | aklish | set | messageid: <1414519480.06.0.561674688361.issue22754@psf.upfronthosting.co.za> |
2014-10-28 18:04:39 | aklish | link | issue22754 messages |
2014-10-28 18:04:39 | aklish | create | |
|