Posts: 4,646
Threads: 1,493
Joined: Sep 2016
(Feb-02-2017, 02:07 AM)micseydel Wrote: extend() has a side effect. If the list comp is of a function that only ever returns None, it's almost certainly using a side effect (unless it's a weird NOOP).
what side effect does extend() have, that is not its definition as a method of the list object it is a method of?
i'm still trying to understand how side-effects became an issue here. i think side-effects are a bad thing. but it certain cases they are suppose to happen (then the argument needs to be why to not use or not have that method, or not have/use some of what it does).
Tradition is peer pressure from dead people
What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.