Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
42
42
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Piscis Babelis est parvus, flavus, et hiridicus, et est probabiliter insolitissima raritas in toto mundo.
Originally posted by Joel McNary:
I like Autoboxing (although I would have been happy if Java had no primitives in the first place, and that code like:
was how Java did it.)
Other features I see as mere clutter.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Bert Bates:
Boy this one could get sticky![]()
I like enums, the new "for", StringBuilder seems like a nice idea, varargs seem ok. Boxing seems to be mostly good, with a few gotchas like you can't unbox and widen at the same time. Annotations could be good but I'm afraid they will be misused and all hell will break loose :roll: Static imports seem handy, the new formatting seems handy... Frankly I haven't studied most of the new threading features, so I'm on thinner ice than usual, but it seems like very specialized stuff.
(Why do I have a feeling I've just stepped in it?)
- Bert
Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
42
Originally posted by Bert Bates:
Hi Anselm -
Ok, I'll simplify... I'm not too fond of annotations or generics![]()
I dont think that anything will removed from java 5 when newer version comes up.
SCJP 1.2, OCP 9i DBA, SCWCD 1.3, SCJP 1.4 (SAI), SCJD 1.4, SCWCD 1.4 (Beta), ICED (IBM 287, IBM 484, IBM 486), SCMAD 1.0 (Beta), SCBCD 1.3, ICSD (IBM 288), ICDBA (IBM 700, IBM 701), SCDJWS, ICSD (IBM 348), OCP 10g DBA (Beta), SCJP 5.0 (Beta), SCJA 1.0 (Beta), MCP(70-270), SCBCD 5.0 (Beta), SCJP 6.0, SCEA for JEE5 (in progress)
Originally posted by Nicholas Cheung:
![]()
Would such things being marked deprecated even if it is not being removed?
Nick
Originally posted by Jeroen Wenting:
In fact, this would not exist if Java had no primitives.
You'd perforce have something like
Not exactly pleasing to the eye.
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by M Beck:
enumerations i don't have much opinion on. i guess they're nice for people who really like to push the type-checking system for things like "typesafe enums", but again, i have a dynamic-typing kind of brain; i wouldn't do that, but i wouldn't deny others the tool either, if they wish to use it.
(edited to add: i will likely use enums very much as i would static integer enums, to make my switch statements more readable. they seem even better for this than the old way. there's still a lot i would wish for in the switch statement's syntax, but this will help a bit.)
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Originally posted by Ilja Preuss:
The nice thing about Java's enums is that they can have polymorphic behaviour. That is, they actually make the switch statement obsolete in many cases...![]()
Originally posted by Ilja Preuss:
Just in the case it wasn't obvious in my previous post: number literals are objects in Smalltalk, just in the same way String literals are in Java.
42
Originally posted by Jeroen Wenting:
Maybe, but you forgot to make operators firstclass objects...
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
ice is for people that are not already cool. Chill with this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|