elfs: (Default)
[personal profile] elfs
I've been struggling for the past three days to make a strange problem in coding come together at the office. The problem is one of those classic object-oriented issues where two objects, both descendents of a heirarchy, both need a collection of objects from another heirarchy, but before those objects are included both heirachies need to become unique.

This problem is known as a mixin. The second body of classes is by definition incomplete. They don't work by themselves. They need data supplied by the unique classes at the top of the other hierarchy, but the data needed to be massaged to give it commonality with the mixin classes. (In one case, the data comes out of a server configuration for editing; in the second, the data is a midpoint for a new server configuration wizard).

It was such a bewildering collection of data channels that there was only one way to deal with it: go literate. I pulled out a new tool called Winefish, a LaTeX editing tool based on Bluefish, and started to document the process I was trying to make work.

Not only did I get it done, but I managed to complete the entire tool chain. This morning I had been afraid I was a day behind schedule; now, I'm a day ahead of schedule. Most excellent.

Date: 2005-06-24 02:29 am (UTC)
ext_3294: Tux (Default)
From: [identity profile] technoshaman.livejournal.com
First rule of engineering: Draw the picture. If you can't draw the picture, go ask questions until you've got the picture.

Draw the picture, the toolchain falls out.

But then, you've already figured that out.

Profile

elfs: (Default)
Elf Sternberg

June 2025

S M T W T F S
1234567
891011121314
15161718192021
22232425262728
2930     

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 2nd, 2025 03:34 pm
Powered by Dreamwidth Studios