[vlc-devel] [Request for Comment] new filter module for AtmoLight

Jean-Paul Saman jean-paul.saman at planet.nl
Sun Nov 25 21:53:00 CET 2007


Rémi Denis-Courmont wrote:
>> - in "C" files declare variables at the beginning of a code block (just
>> proper software engineering)
> 
> Proper software engineering?
> 
> You declare variables when you need them. This limits the risk of erroneous 
> variable "reuse", and is way more readable, as it avoids scrolling to find 
> variables. It also helps the compiler know that a variable is not needed 
> before it's declared, which can only help optimization.

I simply don't agree on this point, but everybody is entitled to its 
opinion.

Gtz,
Jean-Paul Saman.




More information about the vlc-devel mailing list