我应该使用静态导入吗? [英] Should I use static import?
本文介绍了我应该使用静态导入吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
将我的所有导入转换为静态导入
有多重要?为什么人们仍然不愿意使用静态导入
?
How important it is to convert all my import to static import
? Why are people still reluctant to use static import
?
推荐答案
作为docs说,请谨慎使用。看看那里的理由。
As the docs say, use it sparingly. Look there for the justifications.
这篇关于我应该使用静态导入吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文