|
Right, well, the question was about abstraction options other than classes, and I have such an option, so I thought I would pipe up. :) I agree with Dan that GUI abstractions usually fall in the category of what I called "utility" functionality, which is better served by classes. Another option is to test new functionality using a prototype, and when the behavior is stable, convert it into a class. Sam is right that the compiler is very fast and it only takes a couple of seconds to recompile the library. The issue for me when composing is that it isn't just recompiling the library. That's a couple of seconds, then maybe 15 seconds to reload the GUI and reconnect to MIDI, then reload buffers, mixers, source data, etc. which could be up to a minute per cycle. Do that a couple hundred times in a four or five-hour composing session, and it's well over an hour wasted. That's getting away from the original question but still worth thinking about. hjh On Dec 24, 2007, at 1:13 PM, Sam Pluta wrote: Yeah, it seemed like the simplicity of recompiling wasn't clear to you. I don't know how you recompile in emacs, but in OSX you just press apple-k. Its really just two buttons and about 0.91 seconds. I do this so often that sometimes I just recompile automatically after I save automatically. Ba da bing, ba da bang. : H. James Harkins : jamshark70@xxxxxxxxxxxxxxxxx : http://www.dewdrop-world.net .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |