This article is excerpted from Rails for Java Developers, by Stuart Halloway and Justin Gehtland, with permission of The Pragmatic Programmers. All rights reserved ...
It’s a 25-year-old principle of object-oriented (OO) design that you shouldn’t expose an object’s implementation to any other classes in the program. The program is unnecessarily difficult to maintain ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果