Skip to main content
3 events
when toggle format what by license comment
Mar 12, 2012 at 21:51 comment added Winston Ewert @micah, some older languages required declaring all your variables at the top and some programmers have never stopped doing it. I usually take it as a sign that somebody doesn't care enough about code readability.
Mar 12, 2012 at 21:38 comment added micah I've read before that variables should be declared as you say, but I've noticed that my professor has all of the variables declared at the top when she gives sample code. I'm not sure why.
Mar 12, 2012 at 21:02 history answered Winston Ewert CC BY-SA 3.0