| Author |
Style convention - private inner class
|
Frank Bush
Greenhorn
Joined: Apr 27, 2004
Posts: 8
|
|
Hello, Let�s say that I have a class A with a private inner class B. Do style conventions apply to class B too? More precisely, wouldn�t it make sense to forget about the usual get / set methods? My opinion is that encapsulation is not so important for a private inner class, and that readability is improved by giving direct access to data members. But I don�t want to make a statement, especially if it will cost me points Any idea? Here is a code snippet: Thanks, Frank
|
 |
 |
|
|
subject: Style convention - private inner class
|
|
|