From: Max G. <gi...@li...> - 2000-02-05 23:05:28
|
Sven Goethel wrote: > > I'm for making it public. Simple and fast. > Well, I thought that the java compiler creates for stuff like: > int number = 1; > public int getNumber() { return number; } > inline code ? If not - well, we must do it easyly public ! I think compilers does it the way you wrote. I meant 'faster' in terms of programmer's time (less clicks, shorter code). But I can understand the reasons for getters so it's really up to you. I just thought canvas.gl.glEnd(); looks better than canvas.getGL().glEnd(). Bye, Max |