Use cases considered harmful

A. Simons
{"title":"Use cases considered harmful","authors":"A. Simons","doi":"10.1109/TOOLS.1999.779012","DOIUrl":null,"url":null,"abstract":"This article traces the unstable semantics of use cases from Jacobson to UML 1.3. The UML 1.1 metamodel formally defined the \"uses\" and \"extend\" use case relationships as stereotypes of generalisation, yet both received interpretations that varied between inheritance and composition, reflecting a large degree of confusion among developers. The recently revised UML 1.3 has quietly dropped these in favour of new \"include\" and \"extend\" relationships, which are styled instead as kind of dependency. Despite this change, the deployment of use case diagrams encourages analysts to correspondence and develop models which conceal arbitrary jumps in the flow of control, corresponding to goto and come from statements, and in which unpleasant non-local dependencies exist across modules. A discussion of examples reveals how a conscientious designer must disassemble use case models completely to produce properly-structured code. A radical solution is proposed.","PeriodicalId":434404,"journal":{"name":"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)","volume":"56 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1999-06-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"76","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings Technology of Object-Oriented Languages and Systems. TOOLS 29 (Cat. No.PR00275)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/TOOLS.1999.779012","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 76

Abstract

This article traces the unstable semantics of use cases from Jacobson to UML 1.3. The UML 1.1 metamodel formally defined the "uses" and "extend" use case relationships as stereotypes of generalisation, yet both received interpretations that varied between inheritance and composition, reflecting a large degree of confusion among developers. The recently revised UML 1.3 has quietly dropped these in favour of new "include" and "extend" relationships, which are styled instead as kind of dependency. Despite this change, the deployment of use case diagrams encourages analysts to correspondence and develop models which conceal arbitrary jumps in the flow of control, corresponding to goto and come from statements, and in which unpleasant non-local dependencies exist across modules. A discussion of examples reveals how a conscientious designer must disassemble use case models completely to produce properly-structured code. A radical solution is proposed.
被认为有害的用例
本文追溯了从Jacobson到uml1.3的用例的不稳定语义。UML 1.1元模型正式地将“使用”和“扩展”用例关系定义为泛化的原型,但是两者都接受了在继承和组合之间变化的解释,反映了开发人员之间很大程度的混淆。最近修订的UML 1.3悄悄地放弃了这些关系,转而支持新的“包括”和“扩展”关系,它们被样式化为一种依赖关系。尽管有这种变化,用例图的部署鼓励分析人员通信并开发隐藏控制流中的任意跳转的模型,对应于goto和come from语句,并且在模块之间存在令人不快的非本地依赖关系。对示例的讨论揭示了一个认真的设计人员如何必须完全反汇编用例模型来生成结构正确的代码。提出了一种根本性的解决方案。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信