Article Preview
Buy Now
COLUMN
Eureka!
Tips and Tricks for the Xojo Developer
Issue: 12.3 (May/June 2014)
Author: Markus Winter
Author Bio: Markus is a Molecular Biologist who taught himself REALbasic programming in 2003 to let the computer deal with some exceedingly tedious lab tasks. Some call it lazy, he thinks it smart. He still thinks of himself as an advanced beginner at best.
Article Length (in bytes): 9,156
Starting Page Number:
Article Number: 12313
Resource File(s):
12313.zip Updated: 2014-05-01 11:18:48
Related Web Link(s):
(http://bit.ly/1jiO72i
Excerpt of article text...
Our math teacher used to say: "All good mathematicians are lazy. That's why they come up with a general solution to a problem so that they do not have to solve the same problem over and over again."
Unfortunately, at my tender age back then I was impressionable but not yet well versed in the fallacies of logic, so the take-home message for me was that a prerequisite for being good at math was to be lazy, and "being lazy" I could most certainly do.
Nowadays I'm still lazy but in a mathematical sense because, at long last, I finally understand what my math teacher meant. So, when programming, I like to look at ways to make life easier—and that's what today's column is about.
Tip 1
Whenever I see where a little effort could provide big rewards, I want to see it implemented. As a beginner, I stayed away from "advanced" stuff like Extends. But there is really nothing to it—it is simply a way to add a method or function to the build-in classes like those shown in these two examples:
...End of Excerpt. Please purchase the magazine to read the full article.