Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 6.6

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.