I’ve noticed that Ben likes to place his variables within his functions right before they are used. I find that this style tends to confuse me a bit, so I’ve been sticking to my own formatting for variables.
Basically, I just like to keep all the variables at the top of their scope in a list format. Both formats are perfectly fine, but some people may find mine helps them stay more organized. It’s all comes down to preference really. Hope this helps
Makes sense. I’ll try using your style for a while and see if I can get my brain to comply. I’ve always been taught to use my current style, but in my previous courses our functions never got to be very large.