Forum OpenACS Development: Response to pl/pgsql porting style question

Collapse
Posted by Don Baccus on
Hope I didn't cause a misunderstanding, Roberto, in general I like the overloading solution, particularly for common cases.

The only concern - probably not much of one for most functions - is that a proliferation of overloaded functions causes the code to be cluttered with a potentially confusing number of them.

Also, I didn't realize that Dave was asking if there's another solution (he asked if it were better to create an overloaded function,  I thought he understood how to do
the alternative approach, i.e. making the parameter list unambiguous).

So ... again, all I'm saying is that it's a judgement call as to which  is best.