Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!


Forgot your password?
Take advantage of Black Friday with 15% off sitewide with coupon code "BLACKFRIDAY" on Slashdot Deals (some exclusions apply)". ×

Comment Roughly what I would have written (Score 1) 497

Although I was unaware Java had those labeled jumps. Funny, given that I've been a Java coder the last 15 years.

A Stackoverflow answer had a decent example of where they could be used; a straightforward nested loop that quits when it finds something. Especially with foreach that doesn't look too bad.

for(List<String> names : groupNames) {
for(String name : names) {
if("joe".equalsIgnoreCase(name)) {
break search:

Horrible? Maybe if the average coder hasn't seen labeled breaks before...

Comment You misunderstand (Score 3, Informative) 49

There's no such claim in the article or summary. The moon rocks don't have the full surroundings available to make sure it wasn't just existing zircons knocked about by an impact rather than formed in that impact. Evidence from the moon is being used to time the late heavy bombardment. So we're no longer sure the evidence we found on the moon is good enough to narrow down the timing as much as we thought.

Comment Risk assessment in article absurd (Score 1) 182

One species-ending strike every 100M years and

So with all of this taken into account, what are your odds of dying in an asteroid strike in any given year? About 1-in-70,000,000.

So all-in-all I can assume I personally die from an asteroid strike about three times in 200M years while ignoring that the entire human species is wiped out twice.

And if I wanted the US Department of Transportation to handle this, based on personal risk to individual US citizens alone, they could spend about $30M a year on asteroid prevention.

The article sucks. It just says the risk is low and makes no attempt to compare the risk or the cost to anything else.

"Necessity is the mother of invention" is a silly proverb. "Necessity is the mother of futile dodges" is much nearer the truth. -- Alfred North Whitehead