But it is conventional wisdom that the use of globals is a bad programming practice.
但是,传统观点是全局使用是一个糟糕的编程实践。
Reference cycles between classes in different packages or projects are generally considered to be a bad programming practice (they introduce tighter coupling between components).
在不同包或项目中类之间的循环引用通常被认为是不好的编程习惯(这些类在不同组件之间构成了紧耦合)。
The use of static methods might be considered a bad object oriented programming practice.
静态方法的使用可能是一种糟糕的面向对象的编程操作。
应用推荐