News for hackers. Stuff that matters.
Re:What is “:-!!” in C code? by majewsky on Monday November 21, 2016 @10:34AM (#13006102)
If you declare a variable as `const`, you have to initialize it during declaration. So you have to place the declaration exactly where the value expression becomes available.
Re:What is “:-!!” in C code? by bluetomcat on Monday November 21, 2016 @10:40AM (#13006164)
Also, it acts as a declaration of intent and makes the data dependencies in a function more explicit.

If I declare a variable in the middle of a function, I am declaring intent that this variable shouldn't be used in the first half of the function – maybe the data it is supposed to hold cannot be available at that point.