Article Preview
Buy Now
| PDF: |
Feature
Variable Naming
Issue: 6.6 (September/October 2008)
Author: Marc Zeedar
Article Description: No description available.
Article Length (in bytes): 18,581
Starting Page Number: 22
RBD Number: 6611
Resource File(s): None
Related Link(s): None
Known Limitations: 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.
It was about this time that I realized I was struggling to understand my own code! I kept running into situations where I'd say to myself, "Why did I do it that way again?" or "What the heck is this method supposed to do?"
...End of Excerpt. Please purchase the magazine to read the full article.
Article copyrighted by REALbasic Developer magazine. All rights reserved.
|







