Original URL: http://www.channelregister.co.uk/2008/02/13/vendors_uml_tools/
People sometimes do a double take when I talk about analysis, design and agility in the same sentence. And if I mention UML and agility, they spin round several times and fall over. At the expense of inviting a flurry of email replies for posing a rhetorical question, I have to ask: why?
Aside from the analysis paralysis (http://www.regdeveloper.co.uk/2007/12/18/analysis_paralysis_part_one/) issue, there's also the problem that most, if not all, UML tools just don't measure up to the rapid development experience offered by modern integrated development environments (IDEs).
Martin Auer, co-creator of the open source UML modeling tool UMLet (http://www.umlet.com/), agrees this is a real problem, one that most tool vendors appear to be blithely ignorant of:
"The topics we feel strongly about have less to do with UML tools as with tools in general: in many instances, they get in your way, distract you, and break your workflow. This happens with pop-up dialogs, bubble alerts, sounds etc. Also, tools often require you to make steps that are unnecessary, but tedious and difficult to automate. This, along with the growing number of unnecessary features in applications (media player in PDF files, autosummarize in Word) makes many tools' usage unintuitive."
The problem is horribly obvious in UML tools. It's difficult to fly along when the user interface (UI) forces you to click through fiddly dialogs and operate on individual model elements at a time. Modern IDEs, on the other hand, grease the skids of agility. Their creators understand the agile mindset.
With support for pattern-based refactoring we've begun to see a single mouse click perform several steps for you. In NetBeans, Eclipse and IDEA, for example, many refactorings are tied to keyboard shortcuts, that further ties them into the coder's workflow.
Working with legacy code in IDEA I continually use Ctrl-Alt-M not just to extract a method, but as an auto scan to see if there are any dependencies on a block of code - variables passed in from outside its scope. The function works well because it's quick, doesn't get in your way, and it's useful.
Developers are a demanding group of people, and even if the end-user UIs they create might not always be considered especially usable, the irony is their IDEs are.
Contrast this with UML tools, which have always been - and generally still are - extremely awkward to use. If you've created a component and linked it up to a dozen or so classes in different packages, then decide that it isn't really a component but an external Actor it should be a quick change to transform its type, right? Pretty much all modeling tools will require you to create a new Actor then recreate all the relationships again. Is this agile, or the sign of a tool vendor who hasn't thought about the users?
This example goes to show how rigid UML tools are for the modern agile developer. We've grown used to being able to create a Java class and refactor it to smithereens, pushing methods up and down, extracting interfaces and introducing variables. So this raises the question: if you right click on a model element in any modern UML tool, where's the refactor sub menu?
In fact it should be a prefactor sub menu, as you'll be working on models that may not exist in code yet. UML tools do have functions that could class as prefactoring tools, but they're distributed around in the UI, not centralized under a single sub menu that hangs off a model element.
It's a mindset thing. However, I predict that the first modeling tool to offer a prefactor sub menu will hit the industry like a bolt of lightning. It'll do for modeling tools what refactoring support did for IDEs.®
Matt Stephens (http://www.softwarereality.com/MattStephens.jsp) is co-author of Use Case Driven Object Modeling with UML: Theory and Practice (http://books.theregister.co.uk/catalog/browse.asp?id=805868), which illustrates how to get from use cases to code using a core subset of UML, and Extreme Programming Refactored: The Case Against XP (http://books.theregister.co.uk/catalog/browse.asp?ref=587719).
Too much code, too few application security specialists (28 May 2008)
http://www.channelregister.co.uk/2008/05/28/agile_security/
Read, test, don't repeat - how to avoid code complexity (5 May 2008)
http://www.channelregister.co.uk/2008/05/05/emergent_design_part_four/
Micro Focus buys NetManage (1 May 2008)
http://www.channelregister.co.uk/2008/05/01/micro_focus_buys_netmanage/
Hafta Man and the threat to agile design (30 April 2008)
http://www.channelregister.co.uk/2008/04/30/hafta_mindsets/
JBuilder 2008: Bold vision, rough edges (28 April 2008)
http://www.channelregister.co.uk/2008/04/28/jbuilder_2008_review_rough_edges/
Early calls to simplify Eclipse (31 March 2008)
http://www.channelregister.co.uk/2008/03/31/eclpse_e4_feature_requests/
Comment judiciously, refactor if needed, avoid the 'f' word (28 March 2008)
http://www.channelregister.co.uk/2008/03/28/case_for_comments_code/
Next Eclipse platform in two years (20 March 2008)
http://www.channelregister.co.uk/2008/03/20/eclipse_e4_timetable/
Sweet, sweet smell of comments in code? (18 March 2008)
http://www.channelregister.co.uk/2008/03/18/code_comment_rows/
Uncovered: the lost humor of flowcharts (17 March 2008)
http://www.channelregister.co.uk/2008/03/17/super_villain_flowcharts/
Next Eclipse platform could slip IBM's grip (14 March 2008)
http://www.channelregister.co.uk/2008/03/14/eclipse_e4_ibm_dominance/
IBM shadow looms over next Eclipse (11 March 2008)
http://www.theregister.co.uk/2008/03/11/eclipse_e4_dust_up/
SOA benefits: too much reuse of reuse? (8 March 2008)
http://www.channelregister.co.uk/2008/03/08/soa_reuse_repetition/
Time for UML tools to evolve (29 February 2008)
http://www.channelregister.co.uk/2008/02/29/uml_tools_refactoring/
Agile lands role in games and business software (28 February 2008)
http://www.channelregister.co.uk/2008/02/28/agile_crossing_chasm/
UML officially an unfunny matter (20 February 2008)
http://www.channelregister.co.uk/2008/02/20/uml_jokes/
Ruby runs on Rails with NetBeans (13 February 2008)
http://www.channelregister.co.uk/2008/02/13/netbeans_ruby_part_two/
Polished NetBeans means Ruby (31 January 2008)
http://www.channelregister.co.uk/2008/01/31/netbeans_ruby_part_one/
Streamline your search with Yahoo! Web Services and AJAX (29 January 2008)
http://www.channelregister.co.uk/2008/01/29/yahoo_ajax_web_services/
Penguin-powered UML modeling (29 January 2008)
http://www.channelregister.co.uk/2008/01/29/linux_uml_modeling/
Salesforce.com bitten by the ALM bug (17 January 2008)
http://www.channelregister.co.uk/2008/01/17/salesforce_alm/
Eclipse gets Fishy on SOA (7 January 2008)
http://www.channelregister.co.uk/2008/01/07/eclipse_swordfish_soa/
Telltale signs your model is stuck (3 January 2008)
http://www.channelregister.co.uk/2008/01/03/analysis_paralysis_part_two/
Sequence diagramming that's fit for purpose (22 December 2007)
http://www.channelregister.co.uk/2007/12/22/iconix_process_sequence_diagramming/
How to avoid the model quagmire (18 December 2007)
http://www.channelregister.co.uk/2007/12/18/analysis_paralysis_part_one/
Close the gap between analysis and design (14 December 2007)
http://www.channelregister.co.uk/2007/12/14/robustness_analysis_book_extract_3/
Bloody code! (4 December 2007)
http://www.channelregister.co.uk/2007/12/04/multiple_exit_wounds/
Model use cases that work (23 November 2007)
http://www.channelregister.co.uk/2007/11/23/use_case_part_two/
Boffins: Dark times for application development (1 October 2007)
http://www.channelregister.co.uk/2007/10/01/dark_ages_programming/
© Copyright 2008