Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:Shocking news: (Score 1) 387

No, for driving games a wheel is what you need.

That is the best option, obviously. But a gamepad with "triggers" like the xbox360 controller is okay, as it at least allows you to control acceleration, braking and turning in a smooth fashion. Keyboard+Mouse is the worst sort of atrocious. Everything is either full on, or full off. Either you slam the pedal, or you take your foot off it completely.

Comment Re:4chan might be down forever. (Score 2) 710

Nothing was lost? The porn! MY PRECIOUS DEVIANT PORN! Oh how I miss thee, German* midget wrapped in a latex catsuit fighting off naked clowns with an oversized Q-tip!

* How do I know she was German? Well, the only people who create weird shit like that are the Japanese and the Germans. And she wasn't Japanese.

Comment Re:No (Score 1) 545

Modern IDEs autocomplete documentation and explanatory comments for you? That's pretty neat. I obviously need to upgrade. The difference between an okay programmer and a good programmer is not in the code the compiler sees, it's in the code that the next person reading the code sees. It's possible to write the same algorithm in two different ways that will generate exactly the same AST, but only one of which is readable and easily comprehensible by another human. See the Obfuscated C Contest for extreme examples of the other kind.

Good programmers write code that doesn't need a multi-paragraph description and line-by-line comments. The structure of the project should obviously be documented (how does the modules connect, and so forth), and any caveats or unexpected behavior in for example boundary cases, but beyond that, good code documents itself.

This is a pathological degree of documentation (but none the less all too common):

/** Adds two numbers
      @return The sum (a + b)
      @arg a The first number
      @arg b The second number */

int sum(int a, int b) {
    return a + b;
}

The function does what it says on the box, so you don't need to comment it.

Comment No (Score 1) 545

Modern IDEs tend to auto-complete so much that it really isn't a problem, even in verbose languages like Java. Then there are of course those languages that are so abstract and dense that it will never matter, like say Haskell.

Comment Re:It was just okay (Score 1) 762

Heavily influenced by the re-imagined Battlestar Galactica, SGU felt much more "adult" and real than any previous SG series (some of which were just downright hokey).

Only if, by "adult," you mean "emo."

I think the term used in the industry is "darker and edgier". But yeah. Emo.

Comment Temporary solution? (Score 4, Insightful) 148

From what I understand (and this may very well be wrong), Type 1 diabetes is when the immune system breaks down beta islets leaving one unable to produce insulin. So wouldn't this be a highly temporary fix, before the immune system goes to town again?

If so, I don't know if a lifetime of being stabbed in the balls is preferable to a lifetime of insulin injections.

Slashdot Top Deals

Work without a vision is slavery, Vision without work is a pipe dream, But vision with work is the hope of the world.

Working...