Ten Misunderstandings About UML Modeling

Ten Misunderstandings About UML Modeling

With a language as complex as the UML (Unified Modeling Language), which is described in a specification that is more than 700 pages long, we all can understand how parts of the UML and their use can be misunderstood. Even though thousands of books have been written on the UML, certain misunderstandings seem to still be floating around. Most of the confusion is not about a specific UML element or its meaning (although such confusion still does exist and fuels fiery debates in certain circles), but is about the application of the UML when modeling. The following is a list (in reverse order) of common misunderstandings that I am still hearing in our industry.


No. 10: The UML is only for software development

The UML is actually a very utilitarian language. I have known it to be used for varied, non-software development purposes from modeling biological systems to analyzing legal documents. It can be used to model businesses, enterprise architectures, and manufacturing processes just to name a few. With the advent of SysML, modelers have specialized diagrams for systems engineering. Also, the UML has built in extension capabilities (e.g. stereotypes, profiles) that allow you to customize it to your particular needs while staying compatible with the UML specification.

No. 9: You need to use all of the UML diagrams on your project

This is a particularly malicious misunderstanding exploited by some less scrupulous consultants (internal or external) at their clients’ expense — literally. Having used the UML since its inception, on projects large and small, I have never seen a system that MUST use ALL of the UML diagrams to be successful. Learn the purpose of the various diagrams that are available and use the ones that best suit your needs.

No. 8: If we use the UML we automatically get software reuse

Reuse — maybe. Automatically — no. There seems to be an unspoken assumption here that reuse will come automatically with the use of a standard language (the UML) and object-oriented development. Reuse does not come free. The often heard rule-of-thumb is that developing truly reusable assets requires three times the effort vs. not developing for reuse. Also, in order to fully recover that cost, the asset must be reused multiple times. Reuse is a serious practice. If you really are going for reuse, it must be a key project goal, not just something you want the developers to “do” along the way. You can develop quality reusable assets, but it takes a focused effort to do so.

No. 7: The UML is good just for ‘sketching’ diagrams

You can use the UML for sketching diagrams. At least your team will have a common set of symbols to work with. However, the UML is not just for “sketching”. (This misunderstanding took hold a number of years ago fueled by an aggressive, anti-UML marketing program.) The UML enables designers to perform very robust analysis and design of their systems, even to the point of code generation if you wish to invest enough modeling time for that purpose. Even if you are not generating code, using object-oriented analysis and design techniques with the UML, in your modeling practice, is truly valuable.

No. 6: I can use whatever UML diagram I want (i.e. UML diagrams are interchangeable)

You could try this but it quickly will degrade into the old “Lipstick on a Pig” joke. While it is true that various UML diagrams share similar overarching purposes (i.e. some depict structure, some depict behavior), they are not necessarily interchangeable. Each has a particular viewpoint. For example, two behavioral diagram types, Activity and Sequence diagrams, both can depict behavior. However the “focus” of an Activity diagram is the flow of a process, whereas the focus of a Sequence diagram is the time ordered sequence of messages. Yes both can describe a behavior, but each approaches this from a different direction. Use what works for you, but understand the strengths of each diagram type before you choose to use it.

No. 5: I’ll go to a class or read a book to learn the UML

Most books the teach UML diagram by diagram, element by element. That is one way to learn the piece parts of the UML. But you don’t learn to write a great novel by reading a dictionary. During a job interview I was once asked by a VP of development why her people couldn’t do object-oriented (OO) development. After all, she had sent them to a C++ course! OO and the UML are not just about the implementation language or the individual UML elements. You also have to learn an effective approach to apply the UML and OO techniques. Courses can be a better approach (if taught by an experience practitioner and if the course is mostly hands-on problem solving). However, many people suffer from the “White Sheet of Paper Syndrome” afterward. They take the class, go back to their job, and try to apply what they learned. But they get stuck quickly. They look down at that empty white sheet of paper (or whiteboard or tool) and they realize that their real-world problem does not look anything like the contrived problem they worked on in their class. For example, ATM’s, making tea, and library checkout problems used in classes never seem to reflect the complexities of the real world.A total immersion program is the best way to absorb the UML notation, approach, and languages, if you are fortunate enough to be able to participate in one. They are rare, require companies to dedicate their people to the program full-time, and take quite a while (e.g. 2-3 months). But the results far exceed the investment. If you cannot participate in such a program, get a few good UML books, take a rigorous class that teaches the notation, approach, and (if you are a programmer) implementation language, and get your team an experienced UML coach to spend time working with your team. The coach is needed to fill in the blanks that courses and books do not address. Your coach will also help your team take all the theory they just learned and turn it into useful practices.

No. 4: UML is in the development mainstream — all my people should know it

“Should” is the operative word. The UML “should” be mainstream and development teams “should” know it. However, that is not the case. In a recent survey I ran, nearly 50 percent of the respondents said they new little or were just learning the UML. Also, only a few of the UML diagrams are being used on projects: mostly use case, class, and activity diagrams. These results reflect the results of other studies and the experiential evidence my colleagues and I see in the marketplace. This indicates that the UML (after all these years) is still in the “early adoption” phase, not the mainstream. Project managers should not fall for this misunderstanding. You never know; half your team may have fallen into misunderstanding No. 5 (above).

No. 3: The UML is a process / methodology

The Unified Modeling Language is just that — a language. A standard language is a good foundation for developing common practices, processes, and methodologies, but a language is not a methodology. To be effective the UML must be coupled with an appropriate methodology (i.e. principles, methods, and tools), process, and implementation language, that all work together in a manner that is usable for your teams, in your particular development environment.

No. 2: Modeling isn’t Agile

When people say this, what they typically mean is “Modeling can’t be Agile. So we’re not doing it.” Either they a.) don’t really understand how to use modeling, b.) don’t understand “agility”, c.) just don’t want to model, d.) some of the above, or e.) all of the above. Remember that collaboration and effectively responding to change are goals of agility. It is much easier to discuss a diagram of your system at a whiteboard or with a modeling tool than trying to do so sitting in front of a multi-hundred page textual system specification. Plus with the current state of modeling tooling, finding all the elements of your system that may be impacted by a change to a specific element of your system is quite easy. Whether modeling is agile or not all depends on how you model. How broadly or deeply you model is your choice.

No. 1: We want to adopt modeling, so we’ll just buy a tool

A “tools first” approach often runs into difficulties. Tools are created to provide broad functionality to a wide marketplace of users. How the tool vendor expects the customer to use the tools often conflicts with how particular companies or teams work in the real world. Thus if tools are allowed to dictate process, they can over-constrain your team and block their success. A “process first” approach allows you to discover what really works for your project teams in your particular environment. Establish your approach to modeling first. Guidance for how the tooling should be used to support your process can then be established. And before you commit major dollars to a tool purchase, try out some of the free tools (http://rmaksimchuk.wordpress.com/2010/02/25/a-fool-with-a-tool/ ) and evaluation copies of the paid tools, to see how your teams will really use the tools. Your process must support they way your teams work and the tools must not get in the way. I hope you enjoyed these 10 misunderstandings (and have not suffered from any in the real world). If you have additional “favorite” misunderstandings, let us know.



Share the Post:
Remote Learning

Revolutionizing Remote Learning for Success

School districts are preparing to reveal a substantial technological upgrade designed to significantly improve remote learning experiences for both educators and students amid the ongoing

Revolutionary SABERS Transforming

SABERS Batteries Transforming Industries

Scientists John Connell and Yi Lin from NASA’s Solid-state Architecture Batteries for Enhanced Rechargeability and Safety (SABERS) project are working on experimental solid-state battery packs

Build a Website

How Much Does It Cost to Build a Website?

Are you wondering how much it costs to build a website? The approximated cost is based on several factors, including which add-ons and platforms you

Cisco Splunk Deal

Cisco Splunk Deal Sparks Tech Acquisition Frenzy

Cisco’s recent massive purchase of Splunk, an AI-powered cybersecurity firm, for $28 billion signals a potential boost in tech deals after a year of subdued mergers and acquisitions in the

Iran Drone Expansion

Iran’s Jet-Propelled Drone Reshapes Power Balance

Iran has recently unveiled a jet-propelled variant of its Shahed series drone, marking a significant advancement in the nation’s drone technology. The new drone is poised to reshape the regional

Solar Geoengineering

Did the Overshoot Commission Shoot Down Geoengineering?

The Overshoot Commission has recently released a comprehensive report that discusses the controversial topic of Solar Geoengineering, also known as Solar Radiation Modification (SRM). The Commission’s primary objective is to

Remote Learning

Revolutionizing Remote Learning for Success

School districts are preparing to reveal a substantial technological upgrade designed to significantly improve remote learning experiences for both educators and students amid the ongoing pandemic. This major investment, which

Revolutionary SABERS Transforming

SABERS Batteries Transforming Industries

Scientists John Connell and Yi Lin from NASA’s Solid-state Architecture Batteries for Enhanced Rechargeability and Safety (SABERS) project are working on experimental solid-state battery packs that could dramatically change the

Build a Website

How Much Does It Cost to Build a Website?

Are you wondering how much it costs to build a website? The approximated cost is based on several factors, including which add-ons and platforms you choose. For example, a self-hosted

Battery Investments

Battery Startups Attract Billion-Dollar Investments

In recent times, battery startups have experienced a significant boost in investments, with three businesses obtaining over $1 billion in funding within the last month. French company Verkor amassed $2.1

Copilot Revolution

Microsoft Copilot: A Suit of AI Features

Microsoft’s latest offering, Microsoft Copilot, aims to revolutionize the way we interact with technology. By integrating various AI capabilities, this all-in-one tool provides users with an improved experience that not

AI Girlfriend Craze

AI Girlfriend Craze Threatens Relationships

The surge in virtual AI girlfriends’ popularity is playing a role in the escalating issue of loneliness among young males, and this could have serious repercussions for America’s future. A

AIOps Innovations

Senser is Changing AIOps

Senser, an AIOps platform based in Tel Aviv, has introduced its groundbreaking AI-powered observability solution to support developers and operations teams in promptly pinpointing the root causes of service disruptions

Bebop Charging Stations

Check Out The New Bebob Battery Charging Stations

Bebob has introduced new 4- and 8-channel battery charging stations primarily aimed at rental companies, providing a convenient solution for clients with a large quantity of batteries. These wall-mountable and

Malyasian Networks

Malaysia’s Dual 5G Network Growth

On Wednesday, Malaysia’s Prime Minister Anwar Ibrahim announced the country’s plan to implement a dual 5G network strategy. This move is designed to achieve a more equitable incorporation of both

Advanced Drones Race

Pentagon’s Bold Race for Advanced Drones

The Pentagon has recently unveiled its ambitious strategy to acquire thousands of sophisticated drones within the next two years. This decision comes in response to Russia’s rapid utilization of airborne

Important Updates

You Need to See the New Microsoft Updates

Microsoft has recently announced a series of new features and updates across their applications, including Outlook, Microsoft Teams, and SharePoint. These new developments are centered around improving user experience, streamlining

Price Wars

Inside Hyundai and Kia’s Price Wars

South Korean automakers Hyundai and Kia are cutting the prices on a number of their electric vehicles (EVs) in response to growing price competition within the South Korean market. Many

Solar Frenzy Surprises

Solar Subsidy in Germany Causes Frenzy

In a shocking turn of events, the German national KfW bank was forced to discontinue its home solar power subsidy program for charging electric vehicles (EVs) after just one day,

Electric Spare

Electric Cars Ditch Spare Tires for Efficiency

Ira Newlander from West Los Angeles is thinking about trading in his old Ford Explorer for a contemporary hybrid or electric vehicle. However, he has observed that the majority of

Solar Geoengineering Impacts

Unraveling Solar Geoengineering’s Hidden Impacts

As we continue to face the repercussions of climate change, scientists and experts seek innovative ways to mitigate its impacts. Solar geoengineering (SG), a technique involving the distribution of aerosols

Razer Discount

Unbelievable Razer Blade 17 Discount

On September 24, 2023, it was reported that Razer, a popular brand in the premium gaming laptop industry, is offering an exceptional deal on their Razer Blade 17 model. Typically

Innovation Ignition

New Fintech Innovation Ignites Change

The fintech sector continues to attract substantial interest, as demonstrated by a dedicated fintech stage at a recent event featuring panel discussions and informal conversations with industry professionals. The gathering,

Import Easing

Easing Import Rules for Big Tech

India has chosen to ease its proposed restrictions on imports of laptops, tablets, and other IT hardware, allowing manufacturers like Apple Inc., HP Inc., and Dell Technologies Inc. more time

Semiconductor Stock Plummet

Dramatic Downturn in Semiconductor Stocks Looms

Recent events show that the S&P Semiconductors Select Industry Index seems to be experiencing a downturn, which could result in a decline in semiconductor stocks. Known as a key indicator

Anthropic Investment

Amazon’s Bold Anthropic Investment

On Monday, Amazon announced its plan to invest up to $4 billion in the AI firm Anthropic, acquiring a minority stake in the process. This decision demonstrates Amazon’s commitment to

AI Experts Get Hired

Tech Industry Rehiring Wave: AI Experts Wanted

A few months ago, Big Tech companies were downsizing their workforce, but currently, many are considering rehiring some of these employees, especially in popular fields such as artificial intelligence. The