java - your daily dose of coffee
Dienstag, 6. August 2002
Do We Need Java 3?

OnJava has an artilce by Elliotte Rusty Harold proposing to clean up the language.
Certrainly his proposals are worth to disscuss them, but i am not sure if its correct to call them refactorings as refactoring as i experienced it, is strictly bound to the sentence: "improve the design without alter the external behaviour"

But lets take a look at Harolds proposals:

the proposal i agree most, is to eliminate primitive data types. they break the object oriented paradigm and they behave strange:
- long and double are not atomic in sync issues
- byte + byte = int
- they are affected to floatpoint operation deviations, when a binary division produces periodic numbers
- they don't throw exceptions if they overflow.

but also, as a j2me developer i feel that performance and footprint are issues in danger by eliminating primitives. harold's idea to continue j2me on the java2 track is wrong. Code reuse is a major strategic issue and in the mobile arena also important for an other reason, you want the same strategy/ algo classes on the device and on the serverside.
Finally "if you don't like code reuse, why do you use OO technology", cited freely after E. Gamma

Many proposals don't work because compatibility IS an issue.

Others are quite applicable:
method names that have a distorting semantic distance to what they do, like DataInput's writeUTF() should depreciate

if you are curious to know what's wrong with java today this is an interesting article, although not necessary deeply funded.

Online for 8168 days
Last modified: 04.01.11, 10:35
Status
Youre not logged in ... Login
Menu
... Home
... Tags

Suche
Calendar
November 2024
So.Mo.Di.Mi.Do.Fr.Sa.
12
3456789
10111213141516
17181920212223
24252627282930
Januar
Recent updates
links Sun JDKs: Sun Java
Portal Web-Techniken: Java Server Pages - Java Webapplikations Technologie Taglibs...
by ...oliver... (29.01.04, 18:03)
[code snippet] windows standard mail-client
aus java heraus starten die garantiert plattformabhängige lösung :-) public...
by herbstkind (13.02.03, 16:45)
bookmark: SAVA - java screen
saver eher zufällig bin ich über diesen link gefallen: .
by herbstkind (17.12.02, 16:47)
bookmark: SAVA - java screen
saver eher zufällig bin ich über diesen link gefallen: .
by herbstkind (17.12.02, 16:47)
SVG Gestern bei Vortrag über
SVG, Gerald Bauer kennengelernt. Sympatischer Workaholic der uns für SVG...
by rolandk (21.11.02, 16:46)
not to let die this
log a hard one for J2EE-heads: .Net beats J2EE by...
by rolandk (04.11.02, 19:16)
info: netbeans 3.4 released the
new version 3.4 of the netbeans ide has been released....
by herbstkind (30.08.02, 12:02)
Look n' Feel Like an
Egyptian I spend the last days by admiring some excellent...
by rolandk (16.08.02, 09:30)
Glorybox The first steps to
my Audio CD Manager program named Glorybox have been made....
by herbstkind (09.08.02, 15:49)
Do We Need Java 3?
OnJava has an artilce by Elliotte Rusty Harold proposing to...
by rolandk (06.08.02, 23:02)
proposals last week during i
was giving a java tutorial. during the tutorial i developped...
by herbstkind (05.08.02, 15:39)
deepClone for Objects a really
tricky idea: public Object deepClone() { try { ByteArrayOutputStream b...
by herbstkind (01.08.02, 18:00)
increase date string by x
days problem you have a date as a string in...
by herbstkind (16.07.02, 18:29)
conversion: string to SQL timestamp
problem: you have a date as a string in format...
by herbstkind (16.07.02, 18:23)
welcome this is my second
weblog in antville. i deceided to create another one since...
by herbstkind (16.07.02, 18:06)

RSS feed

Made with Antville
Helma Object Publisher