Ugh, we need a dface
dnewsgroup at billbaxter.com
Mon May 19 08:57:24 PDT 2008
Frank Benoit wrote:
> Bill Baxter schrieb:
>> I was just porting some JFace snippets to try to get a better feel for
>> how it works and what it can do. And all I can say is ugh. It's just
>> waaaaay too Java-esque for D. Absolutely everything is an interface
>> that casts every bit of data it handles to and from Object. Ick.
>> Some sort of slightly more D-ish way to wrap and enhance DWT would
>> sure be nice. Something that takes advantage of D's templates instead
>> of casting all over the place.
> For such, we sure do not need to change the name ;)
> Do you have concrete suggestions how to do that?
My approach would probably be to try to build something mirroring Qt's
API as closely possible using DWT as the platform-independent
implementation layer. With a dose of opApplys and delegates and/or
function alias templates.
More information about the Digitalmars-d-dwt