Saturday, 11 July 2015

Ruminating

I'm at a point where I can "do" the code for the game as I see it, but I want it to be "good" code.
What I am struggling with the classes and using them.  I have plenty of practice clunking together lots of separate procedures and declaring a plethora of public variables that every function calls and edits, but I get the impression that this is somewhat messy and prone to cause problems further down the track when the program gets larger and more complex.
I totally dig the whole compartmentalization that classes offer, and would love to use them more.  I feel that I am still just that little bit out of reach in understanding.
The plan is to rephrase the code that I do have so that I am calling and using classes rather than little subroutines within the form class.
This project is taking on a whole new dimension for me.  It will do great things for my understanding and ability to code, but it wont be start of a new career from what I can see.

No comments:

Post a Comment