On Sat, Sep 20 2014, Sriram Karra wrote:
[...] > I think the comparison is not strictly apples to apples. In case of sort > ascending / descending flag parameterises the same sort algorithm. In your > case, you do some additional things (loop through and add up stuff, > perhaps) based on the value of the flag. That is very different. [...] Of course but the API should hide that in a neat way from you shouldn't it? If I have two "switches" an operation, I'd still like to have just one function. Not 4 representing all the combinations. -- Cordially, Noufal http://nibrahim.net.in _______________________________________________ BangPypers mailing list BangPypers@python.org https://mail.python.org/mailman/listinfo/bangpypers