Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by oaiey on Friday January 07, 2022 @01:03PM
(#29842419)
While I agree, this is somehow something I expect. Implicit string concatenation without operator or function around it sounds just like a terrible idea. It breaks the basic syntax concept of `foo X bar`. On the other hand it is probably very handy with DSLs and things like that.
[ Parent
| on HN ]
Re:5% of 666 Python repos had comma typo bugs (inc V8, Tenso...
by wruza on Friday January 07, 2022 @07:01PM
(#29846783)
Not so much DSLs, it's probably something as banal and ancient as
usage = (
'usage: foo [options] filenames...\n'
' -f force concatenation\n'
' -c for convenience\n'
)
print usage
Edit: forgot to add parentheses