"Dangerous" is an objective representation of the presence of harmful
possibilities, using commonly accepted notions of harm.
By that criterion, just about everything is "dangerous".
In practice, though nothing is ever truly, 100%, absolutely perfectly
safe, a line tends to be drawn somewhere where the frequency or
likelihood or severity of harm is below some threshold and considered to
divide "safe" from "dangerous".
Where that line gets drawn *is* a matter of opinion, and indeed it can
vary quite a bit from person to person.
Suppose I grant that "dangerous" is an opinion. It is a fact that
practitioners have experienced undesired outcomes through ignorance of
autoboxing's behaviors.
The cure for ignorance is knowledge, not a crusade to stamp out whatever
was slightly complex enough that some people were capable of being
surprised by it.
Now, instead of piling on me like a rugby scrum, folks
Well, this is interesting. This newsgroup has a history of "piling on
people like a rugby scrum" over differences of opinion on arcane
matters, but usually you've been on the dishing-out end of it. Most
recently vs. Wesson, and in the past vs. Green, Gerrone, and others. Now
you're finding out how the other side likes it.
consider if I'm asking people to do something prudent or foolish.
"Be careful, autoboxing is dangerous."
You didn't seem to be asking people to be careful with autoboxing; you
seemed to be asking people never to use it, and suggesting that Java
should stop changing, too. (One wonders if it's because you've got a lot
of time and effort invested in having memorized the JLS, and if they
change something again you'll have to memorize it all all over again.
)
That communicates advice to research (why should I suddenly be
Professor Proof for all you lazy jerks?)
It seems you have been self-appointed to that role for years now, Lew.
(Perhaps something to do with whatever makes you view the entire rest of
the population of the planet as "you lazy jerks"...)
And people call me a nitpicker. You're all just a pack of cards.
After taking careful measurements of my dimensions and using a mirror to
examine my own surface for printed numerals, hearts, diamonds, and so
forth, I am forced to conclude that that assertion of yours is erroneous.
On further consideration, even a weakened "some of you are packs of
cards" seems improbable, though I cannot quite disprove that version.
Suppose you win. No one checks the limits of what autoboxing does. They
get bugs. It's actually happened. Let it continue. Winner! Vatican
assassin!
You've uttered this non sequitur three times recently. Some unusual
Tourettes-like tic, perhaps?
No wonder there's so much buggy code out there.
And all this time I thought that was mostly down to C's lack of bounds
checking, C's lack of decent libraries so everyone's always reinventing
the square wheel when they need hash maps and growable lists, and
Microsoft.
--