Menu

#326 new rule: replace += on List/Map types with <<

open
nobody
None
5
2013-02-16
2011-07-18
No

new rule: replace += on List/Map types with <<

Don't do this:

myList += '5'

Instead do this:

myList << 5

It's a performance problem.

Discussion


Log in to post a comment.