On sexta-feira, 26 de julho de 2013 10:53:19, Juan Navarro wrote: > In my opinion, if a function requires the user to provide a magnitude value > (for whatever reason), then that value should be explicitly given in an > additional parameter, not implicitly given as an added value to the already > given parameters... I think that's a very bad design decision, which finds > it's own limitations very fast with the example I gave in the first mail: > working with magnitudes of 1e12, I cannot just call qFuzzyCompare(a + 1e12, > b + 1e12), because a or b might be -1e12!
Well, if you want to add a qFuzzyCompare overload with three parameters and deprecate (by documentation only, no Q_DECL_DEPRECATED) the current one, be my guest. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development