Hi,
What is really annoying is when classes (like awt...GeneralPath) are
declared final and can't be usefully extended. Sun please note
Regards
Mike
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+44 (0)20 8949 0353 (Work)
+44 (0)7956 359001 (Mobile)
+44 (0)20 8395 7587 (Home)
Mike Goldwater: [EMAIL PROTECTED]
Auric Hydrates Ltd
26,Sandal Road
New Malden
Surrey KT3 5AP
UK
-----Original Message-----
From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]
On Behalf Of Jimmy Talbot
Sent: 24 January 2000 21:30
To: [EMAIL PROTECTED]
Subject: [JAVA3D] why isn't 'final' more popular?
Hi,
This is more a general java programming question, but here goes:
The 'const' keyword in C++ is really useful, as it allows the compiler to
make some serious optimizations and helps detect bugs at compile-time.
The more-or-less Java equivalent is 'final'. Yet, in almost all the
examples that I see, 'final' is nowhere to be found. Why? Doesn't the
compiler do any optimization with 'final' objects?
Thanks
Jimmy
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".