
On Wed, 2005-09-07 at 15:15 -0700, Bryce Harrington wrote:
Ah, that makes sense. I didn't think about alternate widget set implementations. It's entirely possible that one day someone would come along with a cool, complete wxWidgets-based interface that we would like to hook onto, and this level of abstraction would permit that.
I dunno, I kinda feel like we should YAGNI the extra level of abstraction for now. At least until the gtkmm stuff has completely solidified.
It's almost always better to do a straightforward implementation and get it structured appropriately -- and _then_ factor out the appropriate abstractions, than it is to introduce an extra abstraction anticipating a future need.
While the future need might be realistic, generally an abstraction created out of thin air (rather than being hoisted out of an existing implementation) tends to fit poorly with the actual requirements when it is finally needed.
-mental