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

 



Forgot your password?
typodupeerror
×
Programming

Myths About Code Comments 580

theodp writes "Jason Baker gives his take on the biggest misconceptions about code comments: 1) Comments are free ('When you update the code that the comment references, you usually have to update the comment as well'). 2) Comments make code more readable ('by far the most pervasive myth that I've encountered'). 3) You should comment every function, method, class, and module ('documenting something that needs no documentation is universally a bad idea'). 4) Code must always be 'self documenting' ('would you rather use a one-liner that requires a 3-line comment, or a 10-liner that requires no comments?')."
Apple

Steve Jobs Crowned "Person of the Decade" 346

longacre writes "Apple CEO Steve Jobs won over 30% of the vote in an online poll published by personal finance and investing news site SmartMoney.com, enough to earn their 'Person of the Decade' title by a solid margin over luminaries such as Warren Buffett (17%), Ben Bernanke (13%) and Google founders Sergey Brin and Larry Page (12%). From the article: 'Certainly, Jobs accomplished more than probably any other CEO since he returned to Apple in the late 1990s: Not only did he revive sales at the failing computer company, he led the stock to a more than 700% increase in value, and forever changed the way people buy and listen to music.'"
Programming

When Developers Work Late, Should the Manager Stay? 426

jammag writes "A veteran developer looks back — in irritation — at those times he had to work late and his unskilled manager stayed too, just to look over his shoulder and add worry and fret to the process. Now, that same developer is a manager himself — and recently stayed late to ride herd over late-working developers. 'And guess what? Yep, I hadn't coded in years and never in the language he had to work with.' Yet now he understood: his own butt was on the line, so he was staying put. Still, does it really help developers to have management hovering on a late evening, even if the boss handles pizza delivery?"

Comment So what you are saying is... (Score 1) 395

What you are saying is that because the indirect effects that are caused by every other business on earth are caused by Microsoft as well, they should be exempt from playing by the same rules as the laundry shop next door? Interesting..

Of course, the implied threat that MS might leave the area in your post makes it OK to not play fair. The bullies are always right, after all.
"I did not punch you in the face and you still complain that I took your lunch money? Maybe I should mash you into pulp after $educational_institute is over." - The killer (literally ;) argument of modern business.

Comment Re:MS (Score 1) 176

If you make packed structures on x86, they will require unaligned loads and stores, which are slow (so don't do that). If you do it on a new ARM chip, you get the same. If you do it on a slightly older ARM chip, you get a trap to the OS which fixes up the load. If you do it in x86 code emulated on ARM, then the emulator will turn it into a load-shift-mask sequence (and since ARM instructions get a free shift, this is actually a very quick sequence).

Comment Pursue civil penalties against the infringers (Score 1) 762

IANAL, but by the plain language of the statue, these individuals have infringed the author's copyright by making unauthorized copies of his software into their non-volatile iPhone memory. While the circumstances exclude criminal liability, civil liability for copyright infringement is limited only by logistics and the will of the author to pursue it.

He should go to court and subpoena the identities of these individuals, and ask for the statutory damages he is entitled to.

I strongly recommend the author consult a lawyer to explore his options here. It's possible an IP lawyer would be willing to take his case pro bono as a trial case.

Slashdot Top Deals

Without life, Biology itself would be impossible.

Working...