2
Answers

Declaring variables in the middle of a routine...

Gene Buckle

Gene Buckle

16y
2.1k
1
I've noticed recently that more and more code snippets include variable declarations that happen in the middle of routines.  Does this practice have any advantage over declaring all the needed variables at the beginning of a subroutine or function?

thanks all.

g.

Answers (2)