华人澳洲中文论坛

热图推荐

    for all software developers

    [复制链接]

    2021-5-16 10:52:43 572 7

    转载:

    Design Smells
    If you are lucky, you start a project with a clear picture of what you want the system to be. The design of the system is a vital image in your mind. If you are luckier still, the clarity of that design makes it to the first release.

    But then something goes wrong. The software starts to rot like a piece of bad meat. As time goes by, the rotting continues. Ugly, festering sores and boils accumulate in the code, making it more and more difficult to maintain. Eventually, the sheer effort required to make even the simplest of changes becomes so onerous that the developers and front-line managers cry for a redesign.

    Such redesigns rarely succeed. Although the designers start out with good intentions, they find that they are shooting at a moving target. The old system continues to evolve and change, and the new design must keep up. The warts and ulcers accumulate in the new design before it ever makes it to its first release.



    Fragility
    Fragility is the tendency of a program to break in many places when a single change is made. Often, the new problems are in areas that have no conceptual relationship with the area that was changed. Fixing those problems leads to even more problems, and the development team begins to resemble a dog chasing its tail.

    As the fragility of a module increases, the likelihood that a change will introduce unexpected problems approaches certainty. This seems absurd, but such modules are not at all unco妹妹on. These are the modules that are continually in need of repair, the ones that are never off the bug list. These modules are the ones that the developers know need to be redesigned, but nobody wants to face the spectre of redesigning them. These modules are the ones that get worse the more you fix them.

    [ 本帖最初由 阿狗 于 2008-8-14 14:00 编纂 ]

    全部回复7

    flowingboy 发表于 2021-5-16 10:30:02

    flowingboy 沙发

    2021-5-16 10:30:02

    啥也不说,看图就好……
    kyg071007 发表于 2021-5-16 10:34:59

    kyg071007 板凳

    2021-5-16 10:34:59

    二楼的这个我良久前看过了。pretty true.
    大星星 发表于 2021-5-16 10:39:38

    大星星 地板

    2021-5-16 10:39:38

    好图,好图!
    h12345 发表于 2021-5-16 10:43:41

    h12345 5#

    2021-5-16 10:43:41

    十分形像
    chendq 发表于 2021-5-16 10:45:54

    chendq 6#

    2021-5-16 10:45:54

    描述得十分适量
    9189188 发表于 2021-5-16 10:50:33

    9189188 7#

    2021-5-16 10:50:33

    其实澳洲的软件开发程度很水。我和不少所谓的资深软件架构师,资深零碎剖析打过交道,其中包罗某澳洲出名的top xxx 外包软件开发商的软件架构师. 觉得他们除了很喜爱散会,尤为喜爱开长会外。对名目帮忙基本不是很大。
    四方木 发表于 2021-5-16 10:52:43

    四方木 8#

    2021-5-16 10:52:43

    ,其中包罗某澳洲出名的top xxx 外包软件开发商的软件架构师.

    -- who is the top xxx?

    发表回复

    您需要登录后才可以回帖 登录 | 立即注册

    返回列表 本版积分规则

    :
    论坛元老
    :
    论坛短信
    :
    未填写
    :
    未填写
    :
    未填写

    主题356

    帖子4677

    积分10556

    图文推荐