码迷,mamicode.com
首页 > 其他好文 > 详细

The Importance of Consommé

时间:2015-09-08 09:41:01      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:

?

The Importance of Consommé

Eben Hewitt
A ConSoMMé iS An ExTREMEly ClARiFiEd BRoTH, usually made with beef or veal, served as a delicate soup. A well-made consommé is perfectly clear. It is considered challenging and time-consuming to make, because there is only one way to remove the fat and other solids that cloud the broth and gain the absolute clarity the dish requires: repeated, simple, fine-grained straining. This straining again and again, this hyperconscious refining of the mixture, creates an intensely rich flavor. It’s as if to taste a consommé is to taste the very essence of a thing. That is, in fact, the point of the dish.
In culinary schools in America, a simple test is administered to student chefs making consommé: the teacher drops a dime into your amber broth; if you can read the date on the dime resting at the bottom of the bowl, you pass. If you can’t, you fail.
Software architecture requires a continual refinement of thought, a repeated straining of ideas until we have determined the essence of each requirement in the system. We ask, like Hamlet holding Yorick’s skull, what is this thing? What are its properties? Its relations? We clarify our concepts, to make the relations within the architecture verifiably true, internally consistent.
Many missed requirements and bugs in software can be traced to ambigu- ous, general language. Ask customers, developers, analysts, and users the same questions repeatedly, until they are drowsy with boredom. Now disguise your question to pose it in a different way, like an attorney looking for a snag in the alibi, to tease out anything new, any differences or contradictions. Strain and strain again.
?
??Focus on what can be removed from the concepts presented in the architec- ture, the nouns that compose them, to determine their essence. Bring surgical precision to the language you find in your requirements, rejecting ambiguity, generality, unwarranted assumptions, or extraneous verbiage. This serves to make your concepts richer, more robust. Reduce and reduce again.
Test statements by asking “Would you make the same statement if I appended ‘always and forever and in every circumstance’ to it?” People resist committing to absolutes like this, and must refine their words. Force representations of concepts through a linguistic sieve to clarify them. Do this again, until you are left with only the exhaustive list of simple and verifiably true statements that describe the essential nature of the system.
You’ll know when the architecture is finished: when you can look through it and read the date on a dime.

The Importance of Consommé

标签:

原文地址:http://blog.csdn.net/wangzi11322/article/details/48286415

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!