不难解释,消防员效应的存在,因为他们都是典型的体格健壮型男子,而且总是面对极大的身体风险,需要去拯救陌生人的生命。
It is not difficult to explain why such a "fireman" effect might exist. They are typically athletic men who face great physical risks, as a means of saving strangers' lives.
如果这些问题处理得不当,那么可表达性和健壮性的降低会轻易地抵消泛型类型的好处。
If these issues are not handled well, the benefits of generic types can easily be outweighed by decreases in expressiveness and robustness.
尽管泛型类型是制作健壮代码的强大武器,但我们已经演示了误用它们会使代码不再健壮而且极难诊断和修正。
Although generic types can be a powerful weapon for producing robust code, we've shown how their misuse can lead to code that is not only less robust but also extraordinarily hard to diagnose and fix.
应用推荐