Article Preview
Buy Now
COLUMN
Mark the SPOT With Constants
Improve Your Code With No Effort
Issue: 5.5 (July/August 2007)
Author: Charles Yeomans
Author Bio: Charles is the author of "I Declare: Calling External Functions in REALbasic", available online at
Article Description: No description available.
Article Length (in bytes): 5,294
Starting Page Number: 41
Article Number: 5514
Related Web Link(s):
http://www.declareSub.com/
Excerpt of article text...
Using symbolic constants is probably the very simplest thing that you can do to improve your code. The use of constants also provides a simple illustration of a fundamental practice of good design.
Consider the following bit of code.
dim twoDaysLater as new Date
...End of Excerpt. Please purchase the magazine to read the full article.