Hi there,
I'm working on a project where were have various types of payment e.g. cheques, BACS transactions etc.
We are currently debating whether to use overloading and have multiple copies of a procedure - make_payment and let the parser decide which one to call, or to have one massive procedure with loads of IN OUT parameters and work out programatically what kind of transaction it is and
handle it that way.
My question is which approach would be more efficient - does any one have any views or opinions ???
Thanks
Bob.....
I'm working on a project where were have various types of payment e.g. cheques, BACS transactions etc.
We are currently debating whether to use overloading and have multiple copies of a procedure - make_payment and let the parser decide which one to call, or to have one massive procedure with loads of IN OUT parameters and work out programatically what kind of transaction it is and
handle it that way.
My question is which approach would be more efficient - does any one have any views or opinions ???
Thanks
Bob.....