Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Design Pattern & UML  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 Re:忽然间我感到了一点困惑:设计与实践(框架) [Re:worldcreatxr]
floater

Java Jedi

总版主


发贴: 3233
积分: 421
于 2004-09-23 22:24 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
This is a very good question.

The short answer is, nobody knows.

If I tell you something is right, something else is wrong. You can pick it up quickly. For example, most of jdk APIs are in this categories. It's black and white, easy to make a judgement. However, design is not as easy as this, it's kind of grey. This is where we need/build up experience. We want to make our designs as much independent of any concrete tools as possible, but we still have to build it based on something concrete. So the question is where to draw the line between these two. MDA is on the way to solve this problem, but still no there yet. This is a very hard problem because almost every design is different and thus it's hard to see the common patterns. Every design is an abstraction of something in the real world, solving this problem requires another abstraction of those design, so there are two levels of abstractions.

In my practice, I pay special attention and efforts on drawing the line between design and implementation, both at the design level and implementation level, since I found, there are some issues which exist between design and implementation levels but disappear at the design level(Lewis Ship, the tapestry guy, once noticed this too in his weblog, others noticed this much earlier).

MDA is a good starting point for this question, but is far from solving it. Experience still dominates this grey area, although there are certain rules we can follow in certain specific areas.

my 2cents



"Any fool can write code that a computer can understand. Good programmers write code that humans can understand."
- Martin Fowler, Refactoring - Improving the Design of Existing Code

话题树型展开
人气 标题 作者 字数 发贴时间
9899 忽然间我感到了一点困惑:设计与实践(框架) worldcreatxr 90 2004-07-14 07:35
8050 Re:忽然间我感到了一点困惑:设计与实践(框架) heaven 49 2004-07-14 11:46
8232 Re:忽然间我感到了一点困惑:设计与实践(框架) spi_cn 174 2004-07-14 19:28
8079 Re:忽然间我感到了一点困惑:设计与实践(框架) yolaiyoqu 52 2004-09-23 10:10
8130 Re:忽然间我感到了一点困惑:设计与实践(框架) LuckyReport 67 2004-09-23 15:09
8687 Re:忽然间我感到了一点困惑:设计与实践(框架) floater 1513 2004-09-23 22:24

flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923