[BangPypers] Return values

Sriram Karra karra.etc at gmail.com
Sat Sep 20 13:09:59 CEST 2014


On Sat, Sep 20, 2014 at 2:50 PM, Senthil Kumaran <senthil at uthcode.com>
wrote:

>
> One option to me looks like, don't have consolidate as parameter for this
> function, but do the operation outside.
> Like providing a function called get_consolidated_stats, which will call
> get_stats and provide the consolidated result.
>
>
+1 to this. Having a method do two different things based on a flag is not
a clean answer to anything.


More information about the BangPypers mailing list