Using + with strings considered bad

Cecil Westerhof Cecil at
Wed Apr 29 10:29:47 CEST 2015

Because I try to keep my lines (well) below 80 characters, I use the
    print('Calculating fibonacci and fibonacci_memoize once for ' +
          str(large_fibonacci) + ' to determine speed increase')

But I was told that using + with strings was bad practice. Is this
true? If so, what is the better way to do this?

Cecil Westerhof
Senior Software Engineer

More information about the Python-list mailing list