English 中文(简体)
类图是否显示来自封闭源程序的信息过多? [关闭]
原标题:does a class diagram reveal too much from a closed source program? [closed]
调调调调调调调调调调调调调调调调调调调调
调调调调调调调调调调调调 调调调调调调调调 调调调调调调调调调调调调 调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调调调调调
调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调Closed.调This调question调does调not调meet调Stack调Overflow调guidelines.调It调is调not调currently调accepting调answers. 调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调调调调调
调调调调调调调调调调调调调调调调调调调调
调调调调调调调调调调调调调调调调
调调调调调调调调调调调调
调调调调调调调调
调调调调调调调调调调调调 调调调调调调调调 调调调调调调调调调调调调 调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调

调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调Closed调10调years调ago.

调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调
  • This调question调appears调to调be调off-topic调because调it调lacks调sufficient调information调to调diagnose调the调problem.调Describe调your调problem调in调more调detail调or调include调a调minimal调example调in调the调question调itself.
  • 调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调调
  • This调question调does调not调appear调to调be调about调programming调within调the调scope调defined调in调the调help调center.
  • 调调调调调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调 调调调调调调调调调调调调 调调调调调调调调 调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调调调调调调调调调调调调调Improve调this调question 调调调调调调调调调调调调调调调调调调调调 调调调调调调调调调调调调 调调调调

    I调was调wondering调if调i调can调deploy调a调class调diagram调of调a调closed调source调program.

    does调closed调source调standard调(if调there调is)调forbid调such调action?
    does调it调reveal调too调much调information调about调the调program调/调is调it调possible调to调recreate调parts调of调the调program?

    调调调调 调调调调调调调调
    最佳回答

    有时答案是否定的,特别是在那些情况下,当你需要向用户披露类结构(域模型)的时候。在其他时候,答案可能是肯定的,比如你对国安局人口数据库计划所做的那样:在某些情况下,域模型是软件中最重要的创造性贡献,而其它一切都只是手艺,所以正如你所说,有可能以相当愚蠢的努力来重建程序。但在实践中,你通常可以成功地说,类图并不揭示太多。俗话说,不要征求精灵的意见,因为他们会说“是”和“不是 ” 。

    问题回答

    如果类图解释数据结构,算法几乎显而易见。

    如果您想要解释软件结构, 您应该非常清楚您签定了什么样的合同 。





    相关问题
    Representing a C# Generic Method in a UML Class Diagram

    I have the following interface: public interface IRegisterable { T Register<T>(string username, string passw) where T : User, ICanLogin, new(); } User is an abstract class, and ICanLogin is ...

    Create C++ Code from Visio UML diagram [closed]

    Visio 2010 Beta can generate static UML diagram from Native C++ project, and it s great. How is it possible to solve reverse problem: given a static UML diagram from Visio, generate header files? Or, ...

    How relations in UML class diagram inherit?

    I was wondering how associations, dependencies and such relations inherit in UML (or let s say, in general). So, in a situation like this: ┌──────────┐ ┌──────...

    Using constant fields vs initial data

    I m designing some new class diagrams for extending an existing office automation application. In a special case I have an option to use extra fields on Entity1 to determine something or use ...

    Association of n to 1 objects in a UML class diagram

    Is it safe to say that in a UML class diagram, if there is an association of n to 1 objects, then the association arrow is pointing from the class associated with n objects to the class associated ...