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


Forgot your password?
Check out the new SourceForge HTML5 internet speed test! No Flash necessary and runs on all devices. ×

Comment The golden rule of code writing (Score 1) 239

Write code in a way you'd like to read it, if you didn't write it and had to fix/extend it.

If you've been programming since the early 80's, you've probably had to go back to code you wrote 10+ years before on occasion.
If its written well, (haha) with good comments and variable/function names, you'll spend almost no time getting it to work again.
Clarity is key, avoiding writing code which makes debugging difficult, I often create a local var and pass it to a function when I could just put it in the function call. Why? Well, I can easily look at it in the debugger, the little extra effort of a local var gets optimized out anyway, and it makes debugging a LOT faster.

Comment What if you could land the first stage? (Score 1) 135

What if you could produce rocket fuel in outer space -- making it 83% cheaper?

Hey ULA, here's a unique idea for you, think how cheap space would be if you could reuse your rocket bits instead of burning them up!

Seriously, ULA is a big, overgrown fat, lazy organization....its days are numbered, trying to make headlines this way is a sign of its failure

They need to catch up with the competition before anyone will take their ideas seriously.

Comment yay, how about resizable windows next?? (Score 1) 260

Now if only I could resize a whole slew of windows....I know its new tech, and very hard to do, but pulling at the edges of a window SHOULD let you RESIZE IT...
hold on to your gravy grandpa!
Just the most relevant example, the path window itself in windows does NOT let you resize it, there are also several in visual studio which have huge lines in them, but nope, can't resize them, they are the perfect size!

Comment Garbage IN Garbage OPS (Score 1) 65

Really? Lets add Special to the word Special DevOPS, there NOW I feel really important!

I FEEL the NEEED for a CERTIFICATE! YES! A 'Special DevOPS' Certification
Woo Hoo! Now I can really write code! Just look at my piece of paper, it says I can!!

And I'm an idiot for responding.

Slashdot Top Deals

"I've seen it. It's rubbish." -- Marvin the Paranoid Android