Andrew Ross wrote:
> Alan,
> 
> I notice your fix for the cppcheck detected issues makes use of goto's. In 
> many 
> circles use of goto is considered a real no-no. I'm not sure my fix of using a
> macro for checking error codes and cleaning up is any better (see recent fix 
> to 
> lib/nistcd/cdexpert.c), but we should perhaps have a coding policy on such 
> things to go along with our style policy. 
> 
> Any thoughts from other developers?

I agree that using goto statements is bad.

I'm ok with a style policy, but agreement in this area can be difficult. 
  For example, the default style of PLplot seems to be rather terse 
variable names, which is not something I'm such a big fan of.

-Hazen

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to