One of the best things about Turbo Pascal was having to declare all variables upfront at the beginning of functions.
I really don't know why languages like C, Java or JavaScript started to allow variable definitions everywhere. Needing to declare variables first leads to much cleaner functions.