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
原文地址:https://www.cnblogs.com/wupher/p/1568780.html