I think Zoltan was referring to the idea that operator overloading can be 
confusing for users of the code, and therefore create bugs in calling code even 
if the operators perform exactly as they were designed to.

Hence the suggestion to refactor the code so that explicit method names were 
used instead.



________________________________
From: Alan Grimes <agri...@speakeasy.net>
To: ktechlab-devel@lists.sourceforge.net
Sent: Monday, 6 July, 2009 3:04:59
Subject: Re: [Ktechlab-devel] QMatrix - Random number generation

P Zoltan wrote:
>   ... and another note on QuickMatrix and QuickVector: the operators  
> defined on these look like a good candidate for sources of bugs. I'd  
> prefer to change the operators to some methods with same functionality and  
> intiutive names. Opinions?

Could you be more specific?

I'm fairly confident that they aren't actually buggy, at least I'm not
tracking any bugs in either of those classes at present. The bug I
mentioned earlier in the week is in the LU decomposition engine.

-- 
New president: Here we go again...
Chemistry.com: A total rip-off.
Powers are not rights.


------------------------------------------------------------------------------
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel



      
------------------------------------------------------------------------------
_______________________________________________
Ktechlab-devel mailing list
Ktechlab-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ktechlab-devel

Reply via email to