Rule of thumb

As soon as you think about the static type of a reference, declare it; when thinking "just an object", use dynamic typing.

Technorati 标签: duck_typying,groovy
posted @ 2009-09-17 20:58  wupher  阅读(185)  评论(0编辑  收藏  举报