Re: Consuming your own events.
silky <[email protected]> Fri, 1 Feb 2008 10:52:02 +1100
| Newsgroups | gmane.comp.windows.devel.dotnet.clr |
|---|---|
| Message-ID | <[email protected]> |
On Feb 1, 2008 10:07 AM, Sebastien Lambla <[email protected]> wrote: > Asp.net event handling hooking uses OnXxx=delegate... IE uses onclick... > > Most of the developers I work with are using the OnXxx for handling events > because they're web devs and it makes sense to them... > > You raise interesting questions. But me worrying about how people use my API > and not having the right reaction when overriding a virtual is an issue, and > one that has caused quite a few long-running bugs over the year. > > If you need to rely on analysis tools for errors like those, I still > consider that your contract wasn't strong enough. > > I think we've reached the point where I'm on my own in this quest, so I'll > leave it at that for now. Seb, I may have missed it in amongst all the posts; but what do you propose instead of the "OnXXX" approach? > -- > SerialSeb > http://serialseb.blogspot.com -- http://lets.coozi.com.au/ =================================== This list is hosted by DevelopMentor® http://www.develop.com View archives and manage your subscription(s) at http://discuss.develop.com