Ugh, we need a dface
keinfarbton at googlemail.com
Mon May 19 09:04:58 PDT 2008
Bill Baxter schrieb:
> 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.
Oh, you mean instead jface, implement something completely new?
Sounds like a lot of work.
I thought it might perhaps be possible to add some helper to JFace to
make it feel more D-like.
More information about the Digitalmars-d-dwt