|Ernesto Guisado's Website » Miscellanea » NASA mandates UML||Articles | Miscellanea ||
NASA thinks (wrongly?) that UML can help them improve quality
I have to say that I’ve never seen roundtrip code-generation work in a real-life C++ project (although I’ve seen people try hard) and I remain strongly sceptic of it. I think it probably works for real-time applications with little external dependencies and a design based on statecharts.
But hoping that using a design tool will help with quality sounds a bit naive to me.
The article also says:
”...lets code be generated from models, and public software standards and interfaces when possible…”
Again in my experience, public standards and interfaces only translate into quality benefits if you use a tried-and-tested library or component that supports that standard. As an example using HTTP helps you if you decide to integrate gecko into your client or use Apache as your server, but it’s no big help if you decide to write your own browser from scratch. The better quality comes from (re)use of high quality components, not from the fact that these components use a public standard.
Take Corba (ok, perhaps an unfair example). I’ve seen software projects struggle with it, while other projects using propietary non-standard IPC have had more success.