Em 28-08-2010 13:30, Lucas De Marchi escreveu:
> Hi all,
> 
> See at http://people.profusion.mobi/~lucas/allparen.patch a patch I
> prepared for our svn using the scripts
> trunk/SCRIPTS/coccinelle/{paren,paren-or}.cocci
> 
> I know this one is particular controversial (and bigger than I
> expected), so I'd like to hear from you whether it's worth applying to
> all projects or not. From what I discussed with raster on irc, it
> might be applied for EFL.
> 
> 
> Please, no flames.

I see a lot of useless use of parenthesis! The reason why you can find
all those matches is due to the normal operator priority order, which by
definition eliminates the need of parenthesis.

There may be cases where a programmer doesn't have his logic correct and
weird errors may happen, but then... no automatic script will find that
either.

Rui

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to