Le 12/10/2011 17:40, Allen Wirfs-Brock a écrit :

On Oct 12, 2011, at 6:38 AM, David Bruant wrote:

Hi,

...
So I wondered "what if events were part of an object and exposed as such?". What if an object, instead of being "attributes+methods" was "attributes+methods+events"? (as I learned later having that thought, what I'm describing is actually what some people call "component" in the software engineering literature)

C# does something like this. See http://msdn.microsoft.com/en-us/library/aa645739%28v=vs.71%29.aspx
True!

I had this idea a while ago, discussed with people and they told me C# had something like this. I forgot to take a look.

Thanks,

David
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to