I think there is no benifits of doing that , declaring the varibale in usage make it easy to read and navigate. Also when you debug the code , you will know when its exacly declared (why should I declare it before use it ??)
I think there is no benifits of doing that , declaring the varibale in usage make it easy to read and navigate.
Also when you debug the code , you will know when its exacly declared (why should I declare it before use it ??)