[Bf-python] functions should take/return lists?

Jacques Guignot guignot at wanadoo.fr
Fri Jul 11 01:55:02 CEST 2003


Michel Selten wrote:

>I'm wondering if this was a good choice.
>


no problemo, it is easy to change. But I would prefer if we could 
carefully examine the pros and cons before commiting modifications.

Option 1 : pass/return lists
Option 2 : pass several paralmeters, make different functions.

pro (Option1)

simpler, less functions for the users.
less redundancy in the code.

con (Option1)

some functions (Object) need Option2 for compatibility, and this should 
be extended the more possible, for keeping the api coherent.





More information about the Bf-python mailing list