Sanity check

I spend a lot of time coding alone. I always feel as though I am in an echo chamber. Is there anyone (Preferably someone with more experience than me) that would be willing to take a look at a sample of my code just to offer some advice. Just to check I haven't got any bad habits or doing something in a convoluted way.

I'm not looking for any fixes I just want to confirm I am on the correct path.

My code is thoroughly commented, but gain it would be nice to get a perspective on that also. Does it make sense to other people?
 
Thanks, I appreciate it. I have sent you a PM. It's only a small piece of code and it's not complete but it should be enough to see if have done anything egregious.
 
Top