From: Pepijn V. E. <pep...@lu...> - 2003-05-13 16:20:53
|
Alban Cousinié wrote: > According to the article on Java 1.5 features > http://java.sun.com/features/2003/05/bloch_qa.html > We should be able to call OpenGL commands without prefix in Java 1.5 !!! Should the opengl methods all be static as well? They're not in the current version of GL4Java either, so moving to java 1.5 with the current version would only remove the GLEnum and GLUEnum prefixes. It is feasible to make all the opengl methods static, but personally I would prefer the oop approach. I don't really mind the prefixes. Maybe we can discuss this further or vote on it tomorrow (if there is a meeting tomorrow)... Pepijn > > Static import - Lets you avoid qualifying static members with class > names, without the shortcomings of the Constant Interface antipattern > (Effective Java, Item 17). > > Alban > > > > > ------------------------------------------------------- > Enterprise Linux Forum Conference & Expo, June 4-6, 2003, Santa Clara > The only event dedicated to issues related to Linux enterprise solutions > www.enterpriselinuxforum.com > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > https://lists.sourceforge.net/lists/listinfo/gl4java-usergroup > |