• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 181  文章 - 15  trackbacks - 0
            <2008年11月>
            2627282930311
            2345678
            9101112131415
            16171819202122
            23242526272829
            30123456

            常用鏈接

            留言簿(1)

            隨筆分類

            隨筆檔案

            My Tech blog

            搜索

            •  

            最新評論

            閱讀排行榜

            評論排行榜

            Chapter Two. Communication and the Use of Language

            A project faces serious problems when its language is fractured. Domain experts use their

            jargon while technical team members have their own language tuned for discussing the domain

            in terms of design.

            The terminology of day-to-day discussions is disconnected from the terminology embedded in

            the code (ultimately the most important product of a software project). And even the same

            person uses different language in speech and in writing, so that the most incisive

            expressions of the domain often emerge in a transient form that is never captured in the

            code or even in writing.

            Translation blunts communication and makes knowledge crunching anemic.

            Yet none of these dialects can be a common language because none serves all needs.

            ???????? 當用于交流的語言出現斷層的時候,項目將會面臨一系列嚴重的問題。域專家們與技術團隊自

            說自話。
            ??????? 日常討論所用的術語不再與代碼(它們會成為軟件項目的重要部分)中的術語相聯系。甚至同

            一個人會在交流中和在記錄中所用的術語不相一致,以至于問題域中那些重要的表達方式出現得如此短

            暫進而使它們無法被捕獲到代碼中去甚至無法被記錄下來。

            Use the model as the backbone of a language. Commit the team to exercising that language

            relentlessly in all communication within the team and in the code. Use the same language in

            diagrams, writing, and especially speech.

            Iron out difficulties by experimenting with alternative expressions, which reflect

            alternative models. Then refactor the code, renaming classes, methods, and modules to

            conform to the new model. Resolve confusion over terms in conversation, in just the way we

            come to agree on the meaning of ordinary words.

            Recognize that a change in the UBIQUITOUS LANGUAGE is a change to the model.

            Domain experts should object to terms or structures that are awkward or inadequate to

            convey domain understanding; developers should watch for ambiguity or inconsistency that

            will trip up design.
            ??????? 把模型作為通用語言的核心。推動整個團隊在各種各樣的交流中以及在編碼中嚴格的實踐這種

            語言。在圖表、記錄特別是談話中統一交流方式。
            ??????? 通過選擇性的表達方式,即那些對應不同模型的表達方式來消除通用語言中的難點。然后重構

            代碼,重新命名那些類、方法模塊,使它們和新的模型相一致。我們對那些常用詞匯的理解漸漸的達成

            一致,并以此來解決交談期間的那些混淆。
            ??????? 要知道,對于通用語言的任何變化都是對模型的變化。
            ?????? 域專家們應當積極反對那些尷尬的或者不能充分傳達域概念的術語,開發者應當時時留意含義不

            明確或者有矛盾的地方,這些地方會給設計埋下隱患。
            Play with the model as you talk about the system. Describe scenarios out loud using the

            elements and interactions of the model, combining concepts in ways allowed by the model.

            Find easier ways to say what you need to say, and then take those new ideas back down to

            the diagrams and code.
            ??????? 當你談論系統的時候,多多使用模型。大聲地使用模型所提供的那些元素和交互方式描述情節

            ,以模型所接受的方式聯結域中的概念。盡可能簡單的表達你所要表達的東西,然后反過頭來把這些思

            路轉變為圖表和代碼。

            posted on 2006-08-29 21:25 littlegai 閱讀(213) 評論(0)  編輯 收藏 引用 所屬分類: 我的讀書筆記
            77777亚洲午夜久久多人| 久久免费精品一区二区| 久久丫忘忧草产品| 久久国产精品成人影院| 亚洲国产精久久久久久久| 亚洲欧洲久久久精品| 色妞色综合久久夜夜| 国产激情久久久久影院老熟女| 久久青青草原精品国产软件| 久久精品水蜜桃av综合天堂| 久久天天躁狠狠躁夜夜不卡| 国产精品久久久久久久| 久久人人爽人人爽人人片AV不| 色偷偷888欧美精品久久久| 久久久亚洲欧洲日产国码是AV| 久久婷婷国产麻豆91天堂| 久久亚洲日韩看片无码| AAA级久久久精品无码区| 久久精品国产99久久久| 精品人妻伦九区久久AAA片69| 久久久久这里只有精品| 久久伊人精品青青草原高清| 久久亚洲私人国产精品vA| 久久亚洲精品国产精品婷婷| 久久93精品国产91久久综合| 色噜噜狠狠先锋影音久久| 久久精品一区二区三区不卡| 无遮挡粉嫩小泬久久久久久久| 四虎国产精品成人免费久久| 久久精品国产99国产精品| 青青青青久久精品国产 | 精品久久久久久无码中文字幕一区| 亚洲国产精品嫩草影院久久| 久久精品国产欧美日韩| 国产精品内射久久久久欢欢 | 青青草国产97免久久费观看| 久久综合成人网| 精品久久久久成人码免费动漫| 一本久久精品一区二区| 亚洲国产精品无码久久久蜜芽 | 亚洲日本久久久午夜精品|