Re: What about Embedded?



On Fri, 2006-07-21 at 00:35 +0100, Emmanuele Bassi wrote:

> the rationale for some of their choices is risible ("uttons are
> there to pass on user events not executing actions"? key bindings
> and composite widgets anyone?). 

I haven't at all investigated DUI. I did look at the D specification. 

The event-handling, however, looks to me a lot like how to do it in C#:

>From the samples on the site: button.onClick += doCancel;

What is wrong with operator overloading + and using delegates for this?
In my opinion, that works great in C#. Note that normally I discourage
operator overloading. But for Events ... yeah, fantastic idea of
Microsoft!

My opinion is that it's much cleaner in C#, than these anonymous classes
in Java. Which is in my opinion caused by wanting to stick to the
observer design pattern TO purely. Microsoft learned from Suns mistakes,
and improved it in their own thing.

Some call that stealing, I call it innovation. If you can't cope with
that, you'll simply lose the game. Totally fair and correct.

I guess the DUI guys are still in experimenting phase a little bit. Why
don't we (or whoever the experienced GNOME/Gtk+ binding guys are) go out
and help them? Lets just go over there and make their stuff the best
humans ever created?

Why? Because we can.


-- 
Philip Van Hoof, software developer at x-tend 
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
work: vanhoof at x-tend dot be 
http://www.pvanhoof.be - http://www.x-tend.be




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]