#850 Binding operators (in C# 5.0)

casperbang Fri 4 Dec 2009

The topic of binding comes up occasionally in Fan. I just came by a blog entry regarding what looks like might ending up as binding operators in C# 5.0: http://www.kodefuguru.com/post/2009/12/03/Binding-Operators-for-CSharp-5.aspx

After having experienced the complexities and eventually failure of Java beans binding (JSR-295), this strikes me as absolutely brilliant - simple yet powerful. Very much something I would've expected to read about in the fan docs. Thoughts?

andy Fri 4 Dec 2009

Yeah, there are some good ideas there. This issue will be coming up for Fantom pretty soon.

brian Fri 4 Dec 2009

That looks pretty cool, although my first instinct is that binding should be an API feature, not a language feature. But then again I haven't given it much thought.

casperbang Fri 4 Dec 2009

Yeah you might be right, although that hasn't worked out too well in Java. One of the hardest things in binding is usually how to avoid cycles, it occurs to me that by being a language feature, this can (mostly) be caught by static checking. Of course, one of the most advertised features of JavaFX also happens to be first class binding.

Login or Signup to reply.