Fan USES a static type system also - but as just one tool in the toolbox.
Fan也使用静态类型系统——但只作为工具栏上的一个工具而已。
Note the wildcard feature does not really weaken the static type system much, because it typically only kicks in with reflection APIs (which would have have required an explicit cast anyways)...
注意通配符实际并不会怎么弱化静态类型系统,因为它通常和映射APIs(总是要求投射明确)一块出现。
The type checker is supposed to help a programmer recover from exactly these sorts of mistakes, but in the case of static fields, the type system could actually help to confuse the programmer.
类型检查器应该能帮助程序员从这些类型的错误中恢复,但对于静态字段而言,类型系统实际上会使程序员更迷惑。
应用推荐