This is the mail archive of the
java-discuss@sources.redhat.com
mailing list for the Java project.
Re: Gtk constants in Java
Maurizio De Cecco <maurizio@mandrakesoft.com> writes:
> Ehm, "Java programmers coming from C use static int", like myself :->;
> enum objects *are* a standard java idion by the way, i learned it in
> Sun documentation ...
Still, I don't think they're that commonly used.
> Sure, a Gtk/C programmer would prefer to see the same API style;
> but a Java programmer would prefer a more Java API (don't know
> which audience you are thinking about).
I am a Java programmer (over 50k lines), and a "more Java API" in my
opinion is to use final static int.
--
--Per Bothner
per@bothner.com http://www.bothner.com/~per/