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

 



Forgot your password?
typodupeerror
×

Comment Re:Problem with Exceptions (Score 1) 536

The difference between exceptions and error codes is that uncaught exceptions cause the program to terminate. To ignore them, the programmer must add code. If there's no code to handle an error code, you don't know if the programmer wants it ignored, or that he was completely unaware of it.

Comment Problem with Exceptions (Score 1) 536

The biggest problem with exceptions is that they get thrown too far, changing them into comefroms (the opposite of a goto). And like gotos, they encourage spaghetti code. The best way to deal with them is to limit them to thrown exceptions only to their callers. That way, all exceptions become part of the subroutine's interface. Remember, for a programmer, out of sight is out of mind. If it's not part of the interface, it will be forgotten. For those who are interested, you can read my blog for details and an example.

Comment Re:More Stupidity (Score 1) 196

Completely overlooking the fact that before Twitter there was less to distract them. And overlooking the fact that those who may have to do something else, like write a term paper, may want to follow the game via Twitter. Reducing access _always_ means reducing your audience.

Comment More Stupidity (Score 1) 196

Once more, human stupidity rears its ugly head. Limiting people's access limits their interest. Example: http://www.techdirt.com/articles/20121109/13423720996/draconian-downloading-law-japan-goes-into-effect-music-sales-drop.shtml They can kiss good-bye to their students support for sports...and their future alumni support too.

Comment No Innovation (Score 1) 157

China's censorship will suppress ideas and reduce innovation. They are currently enjoying an economic boom but that will slow down as wages increase (and they will). How does China expect people to innovate when they're afraid of collaborating? Censorship never helps an economy.

Comment The Big Ear (Score 3, Interesting) 166

I always thought that putting a radio-telescope on the back side of the moon would be a good idea since the moon would block all the electromagnetic noise from Earth. Two could be installed, one just over the curve near the north pole and one near the south pole. This would give a baseline of appropriately the diameter of the moon. It would be one, big ear.

Comment Re:I'm somewhat like you. (Score 1) 360

I remember Z80, Pascal and BASIC. And I disagree with you. The tech landscape is less volatile now than back when everything was new. Nowadays, everyone is too conservative, unwilling to take a chance. And the patents wars don't help. I would say that for the next 5 years, smartphones and tablets will be the rage, so getting involved with them is your best bet. And learn to speak Chinese or Hindi. Being able to swear at the hardware guys in their own language is always a bonus. ;)

Slashdot Top Deals

Scientists will study your brain to learn more about your distant cousin, Man.

Working...