Thoughts on Flex 4

I have been working on a Flex 4 project for the past 3 or so months using the Potomac Framework (an OSGi-like framework for flash). We started off with the Flex 4 Beta 2 framework and have now moved to stable, and I have to say, for a 4th iteration, the IDE still seems years behind Java in Eclipse.

There’s a few nifty features like the design view which will let you filter by state but things like errors being underlined as well as a gutter mark make things a lot easier and formatting code seems to be limited to ctrl+a the file and then fix indentation. All the magic functions like refactoring out methods and variables that us Java programmers take for granted these days are staples of Eclipse, IntelliJ and Netbeans. Sure, you can go without all the fluff and I know guys who are adamant that fully featured IDEs are the work of Satan, however they save me several hours over the course of a week spent coding.

What is there in Flash Builder is also pretty buggy…. auto organise imports has a life of its own, often deleting used imports at random and the build path often leaves classes un-included – especially when you copy/paste classes from other modules. That’s the two main offenders that plague me day-to-day, there are several more however they could also be related to the Potomac Framework which is currently in Beta.

There are a couple of plugins that address one or some of these issues:- one such option is SourceMate (written by the same folks who wrote the potomac framework) but spending an extra 80 bucks on top of the flash builder license seems a bit steep, and my last play with the beta had all those methods in their own menu rather than under refactor/source menus. It does what it says it will, and if the extra cash doesn’t rankle it’s worth a look.

I’m surprised Adobe didn’t just dump a pile of money in their laps and just shunt it into the flash builder code, and chances are they are working on the same functionality as we speak meaning SourceMate will need to keep a step or three in front of adobe in order for it to remain a viable investment.

No doubt building an IDE to this point is no mean feat, however I would have thought that Adobe would have thrown the extra resources at it to provide a more polished product when the likes of Silverlight, HTML5 and JavaFX (if it survives the Oracle merger) are gaining serious interest among developers and designers.