News for hackers. Stuff that matters.
Re:What is “:-!!” in C code? by bluetomcat on Monday November 21, 2016 @06:07AM (#13004518)
Even in short functions, "declare it when it's needed" makes your program follow a data-flow style and enables you to use const more, since in many cases the initialization is the only assignment that you do to that variable.

There are no comments on this comment yet.