This is a rare case of Groovy violating the Rule of Least Surprise, but because getting elements out of a map is far more common than using reflection, it is an exception that I can live with.
这是Groovy比较罕见的打破 “最少意外原则” 的情况,但是由于从map获取元素要比使用反射更加常见,因此我可以接受这一例外。
This is a rare case of Groovy violating the Rule of Least Surprise, but because getting elements out of a map is far more common than using reflection, it is an exception that I can live with.
这是Groovy比较罕见的打破 “最少意外原则” 的情况,但是由于从map获取元素要比使用反射更加常见,因此我可以接受这一例外。
应用推荐