On Tuesday 04 September 2007, Henning Westerholt wrote: > > Then what about a function that receives 2 parameters, a str and an > > int which both need conversion from char* to str respectively int? > > Will you write another special conversion function to handle both > > arguments? What if the function changes and receives the int on the > > first position and the string on the second? How many conversion > > functions will we need to cover all cases? > > At the moment most of the modules implement their own fixup functions. > If there is any "mess", than its in my opinion this practice.
Unless you provide real generic functions that can be used by anyone for anycase, the original situation is still there. You only covered some common cases, but people will continue to write their own fixup functions because they can't fit the narrow scope of the provided fixup functions with their cases. -- Dan _______________________________________________ Devel mailing list Devel@openser.org http://openser.org/cgi-bin/mailman/listinfo/devel