Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror

Comment Yes and no. (Score 1) 430

See, the flip-side is:

I don't care how good your algorithm is if it's written in an obtuse, unmaintainable manner.

There are plenty of coders (especially those new to the profession) who don't understand the value of tidy code. The smart ones quickly understand and tend to ask for some tips. That's the first (and for me, primary) reason for having a Coding Standards document.

The second reason is to reduce friction when viewing each others' code. Local vars should be 'someVariable'. Instance vars should be '_anotherVariable'. Methods should be 'SomeFunction'. I physically twitch when I see underscores in variable names.

But, a Coding Standards document should be clear on 'must-do' vs recommendations. We state that you should split multiple-clause IF statements tidily to avoid excessive horizontal scrolling. But we only provide recommendations on how to do brace placement.

Every single point in a Coding Standards document should have a defensible reason to be there.

Our CS doc is in a Wiki which lets us have a comment section for each page (and there aren't many pages overall). If anyone wants to ask why something's in there, or suggest an alternative, they're free to. The doc's existed for 9 years and is largely unchanged other than to add explanations and extra languages. We most recently added some docs on SQL stored procedure styling, since ours were abysmal - copying and pasting SQL from Management Studio's view designer is a 'go back and do it again whilst we laugh at you' offence now :)

Comment Engineering Success (Score 4, Interesting) 769

Now, I'm not a huge fan of nuclear power. Not for the usual "GAAAH! RADIATION! WASTE! YOU'RE MAKING GAIA CRY!" reasons, but because humanity (and more precisely, human bureaucracy) is often far too gaffe-prone to be trusted. Running a nuclear plant isn't amenable to cost-cutting or tight-fisted cost-benefit assessment.

But the way the affected reactors and their operators have performed has been almost perfect. Consider the fact that the buildings themselves are intact after what nature just threw at them. Pretty astounding. Sure, by the look of it, we've already breezed through several failure modes, but reaction has been halted and sea-water is readily available to keep the thing cooled without the core making a bid for freedom. Still, as I understand it, worst-case is the core splurges itself over the inner containment floor and eventually cools anyway.

Of course, there'll be a post-mortem over why standard cooling couldn't be restored, the results of which will be interesting (and no doubt, instructive).

Businesses

Weak US Dollar Means Nintendo Favors Europe For Now 588

timeOday writes "The LA Times is reporting that the new Nintendo Wii Fit is hard to find on US shelves, due not only to strong demand but also the United States' declining status in the world economy: '"[Nintendo] is also is shrewdly maximizing its profit by sending four times as many units to Europe, reaping the benefits of the strong euro," says Michael Pachter, an analyst with Wedbush Morgan Securities. "The shortage demonstrates one consequence of the weak dollar. We're seeing companies ignore their largest market simply because they can make a greater profit elsewhere."'"
Medicine

Experts Claim HIV Patients Made Non-Infectious 394

Misanthrope writes to tell us that Swiss scientists are claiming that with proper treatment HIV patients can be made non-infectious. "The statement's headline statement says that 'after review of the medical literature and extensive discussion,' the Swiss Federal Commission for HIV / AIDS resolves that, 'An HIV-infected person on antiretroviral therapy with completely suppressed viraemia ("effective ART") is not sexually infectious, i.e. cannot transmit HIV through sexual contact.'"
Sun Microsystems

Sun to Create Underground Japanese Datacenter 131

Kurtz'sKompund writes with word of a Sun project in Japan, one that's taking a somewhat non-standard approach to data center construction. To save on power, heating, and water costs, the consortium is going to be building their center in an abandoned coal mine. The outpost will be created by lowering Blackbox systems into the ground; estimates on savings run to $9 million annually in electricity alone.
Security

Internet Security Moving Toward 'White List' 316

ehud42 writes "According to Symantec, 'Internet security is headed toward a major reversal in philosophy, where a 'white list' which allows only benevolent programs to run on a computer will replace the current 'black list' system' as described in an article on the CBC's site. The piece mentions some issues with fairness to whose program is 'safe' including a comment that judges need to be impartial to open source programs which can change quite rapidly. Would this work? The effort to maintain black lists is becoming so daunting that white lists may be an effective solution."

Dell Battery Recall- Win for the Web 110

conq writes "BusinessWeek has an article on how the Dell recalls show the true power of the web and how the attack on the Dell batteries evolved on the web. From the article: But in cyberspace the race was on to dig out every last byte of 'truth' about those flaming PCs. Gadget news blogs like Gizmodo and Engadget spat out facts and rumors with equal zeal. They were relentless advocates for the consumer, too. On July 31, Engadget posted photos of a Dell notebook that had caught fire in Singapore. Its comment: 'We'll keep posting these until we see a recall or a solution, so please, Dell, treat 'em right.'"

IBM to Buy ISS for $1.3 Billion 219

gerald626 writes "IBM announced today that they have formed an agreement to purchase ISS for 1.3 billion dollars." From the article: " The all-cash transaction of about $28 per share is meant to bolster IBM's ability to deliver security services to corporations, the company said. ISS builds network protection products and services, including intrusion detection and monitoring tools. IBM said it intends to use ISS's expertise and software to provide more robust security-related services to its corporate customers."

MAKE Switches To BUY 43

ptorrone writes "It's been a rough year for MAKE Magazine, you see, everyone wants to buy things and not make things, so we're switching our format and rebranding the magazine to BUY. The next volume will be filled with wonderful things you can buy and directives on things to do, like buy more. Our new designer, Nada, has some shots of the next volume here."

Slashdot Top Deals

There is no opinion so absurd that some philosopher will not express it. -- Marcus Tullius Cicero, "Ad familiares"

Working...