Conventionally speaking, do you declare and initialize variables at the beginning of a function or loop or right before usage. I prefer to declare them as late as possible, initialize as soon as ...