It's time for our third article on refactoring Dizzi's leg animation code. Here I am, sitting in NCI Kuula, with a few hundred of my closest friends. Fortunately for you, the picture does not show the giant scary three-headed dragon who was just here. Sometimes it's really hard to concentrate in Kuula. We have the... Continue Reading →
Refactoring Experiment Continues …
I'm sitting on the balcony at Folkvang Castle in Lexicolo. NightShade just got finished testing her new sword, and Dizzi is working on tuning the route cards for one of our vehicles. I thought I'd continue with refactoring the script for the horse's legs. Working incrementally ... I'd like to emphasize a couple of things... Continue Reading →
An Experiment in Refactoring
I've been taught to keep code designs clean using a practice called "Refactoring". For details, check out Martin Fowler's site, http://www.refactoring.com. Briefly, refactoring is a process of improving the design of code by making small changes that preserve function while improving one or another design element. My sister Dizzi Sternberg wrote an interesting script for... Continue Reading →
Comments on Comments …
Just for fun and because it's 5:46 AM Sunday, I want to write about some advice I found in the LSL Scripting Guide. I found the guide itself by searching Google for "Linden Scripting Language Guide". You get a downloadable HTML page and can save it to your computer. If there is a version that... Continue Reading →
Lesson Learned: Shared Code View
Often when scripting, we make mistakes. The longer mistakes stay in the script without being caught, the harder they seem to be to find. Then finally some strange problem arises and it is hard to hunt down the cause. It's well known that having two sets of eyes on the code makes things go better... Continue Reading →