Article Preview
Buy Now
FEATURE
Variable Naming
Issue: 6.6 (September/October 2008)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 20,275
Starting Page Number: 22
Article Number: 6611
Related Link(s): None
Excerpt of article text...
Recently I had an idea for an odd little tool to help me in my fiction writing. My ideas were vague and I wasn't even sure what, exactly, the tool would do or how it would work, but aspects of it intrigued me, not just on a functional level, but for the programming challenge as well. Without a further thought, I dove in and started programming.
This particular tool could be a standalone product or perhaps embedded inside a large application. I wasn't sure, so I decided I would write it as a custom canvas control, making it easy to reuse in another app if I wanted.
I've learned a lot about programming over the last decade and I thought I would take advantage of that and write some good code. It started off well, nice and clean and clear, but within a few days things started to go downhill. As my idea refined itself, my vision of the project morphed. Things I had assumed would work a certain way no longer did. Suddenly I saw a large disconnect between my code and my interface.
...End of Excerpt. Please purchase the magazine to read the full article.