[Python-ideas] Shuffled

Sven R. Kunze srkunze at mail.de
Wed Sep 7 17:43:59 EDT 2016


On 06.09.2016 21:29, Tim Peters wrote:
> In the absence of anything approaching [use-cases], it's a matter of taste, and then
> - yes - decades of Python development experience do -  and should -
> outweigh a newcomer's wish list.  Especially when, as appears to be
> the case here, those with truly extensive experience agree.

I am not questioning experience which everyone in a team can benefit from.


BUT experienced devs also need to recognize and respect the fact that 
younger/unexperienced developers are just better in detecting 
inconsistencies and bloody work-arounds. They simply haven't had to live 
with them for so long. Experienced devs just are stuck in a rut/are 
routine-blinded: "we've done that for years", "there's no better way".


That's the way we do it in our teams. Employing the new guys as some 
sort of inconsistency detectors. This way, they learn to find their way 
around the code base and they can improve it by doing so.

And I would never allow it in my team, to dismiss this kind of 
observation from new colleagues. It's invaluable as they will become 
routine-blinded as well.


> [...] I would be far more annoyed if, e.g.,
>
>>>> random.shuffle(some_million_element_list)
> swamped my terminal with mountains of output.

But you readily accept this behavior for "sorted"? That makes no sense 
at all.

> You can't both behaviors simultaneously, so the status quo wins.
> Indeed, the venerable status quo ;-)

Nobody said to change "shuffle".

Sven


More information about the Python-ideas mailing list