Tuesday, February 15, 2005

Slashdot | Miguel de Icaza Talks About Mono

Slashdot | Miguel de Icaza Talks About Mono: "From my brief poking at both java and c# for gui programming, the difference that strikes me most is the incessant need in java to create anonymous classes for event handling:

addHandler(new eventHandler() {
public void yaddaYadda(EventThingie e) {
}
});

As opposed to c#'s typical method:

clicked = clickedEvent;
...
}
public void clickedEvent(object o, EventArgs e) {

}

I know it is not a huge difference, but I much prefer c#'s method."

0 Comments:

Post a Comment

<< Home