rosuav at gmail.com
Thu Apr 9 20:35:22 CEST 2015
On Fri, Apr 10, 2015 at 4:29 AM, Travis Griggs <travisgriggs at gmail.com> wrote:
> if k + ‘_@‘ in documents:
> timeKey = k + ‘_@‘
> historyKey = thingID + ‘_’ + k
> I’m curious where others lean stylistically with this kind of thing. I see *at least* 2 other alternatives:
So few? I'd just use string addition. No need to worry about
performance unless you actually have reason to believe it's a problem.
String addition exists for a reason!
More information about the Python-list