Find Binds

JavaFX binds are cool. They significantly simplify the structure of an application by eliminating completely the need to use observer patterns to allow objects to receive notifications of application state changes.

I spent several days at Mobile World Congress demoing JavaFX to MIDP developers, and overall I'd say bind was the feature of the language most appreciated.

With all its advantages, it seems to me that code maintainability (not to mention performance) potentially suffers by the use of this construct. With multiple binds scattered throughout an application, it's likely that at some point an update to a bound variable will cause unexpected behavior, a situation not easy to trace.

I would love it if NetBeans had a "Find Binds" feature, similar to "Find Usages" which shows all variables affected by bindings to a selected variable or code block.

Without such a feature, debugging obscure issues related to bindings can be tedious.

I just submitted this as a NetBeans feature request.

Comments:

this is nice. truly said ! Bind can create lot of complexity as well.

Posted by Vaibhav Choudhary on February 26, 2009 at 11:48 AM PST #

Post a Comment:
Comments are closed for this entry.
About

john

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today