Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Marketing?... NOT! (Score 1) 239

*You mentioned elsewhere in the topic that you're from Chicago and you know a lot of Bears fans. I'm writing with the assumption that you are also a Bears fan.

I hope you're happy, now. You've made me cry again. How many times do I have to relive this trauma?.

Oh, and Democrats are constantly saying racist things. I live in Chicago, remember? There are Democrats here that are every bit as bad as Republicans. We live in a racist country. Racism is part of the deal. But here on the verge of 2015, at least it's a source of embarrassment, which I choose to see as progress. And only Republicans make a political strategy out of it.

Comment Re:Can't find anything on Youtube anymore (Score 4, Interesting) 78

It is hard. Producing a new creative work, be it a film, piece of software, book, or whatever, is hard and often expensive. Copying a creative work is cheap to the point that it's barely worth measuring the cost. Lots of influential companies have business models that revolve around doing the difficult thing for free and then charging for the easy thing to make up for it. They're eventually going to be displaced by companies that realise that it makes more sense to charge for the difficult thing - we're seeing this in software already, with open source companies giving away code that's already written for free and charging for writing new features or customisation (or, in some cases, entirely new programs).

In 100 years, people are going to look back on DRM and restrictive copyright in much the same way that we look back at the laws that required motor cars to have someone walk in front of them with a red flag. Regulations that can't possibly work in the long term, designed to prop up an industry that's suddenly found itself obsoleted by new technology.

Comment Re: Why bother? (Score 1) 421

Uh, yes? Because that's how you write code that handles errors correctly. Exceptions come from three sources:
  • Runtime exceptions. These don't need to be caught or declared by Java code, but you can generally avoid them by making sure you have null reference checks and using iterators for collections.
  • Exceptions that you throw yourself. You know you're throwing these and the odds are that you want the caller to handle them (if you're using exceptions for intraprocedural flow control, then you're an idiot). So advertise them on your method. Done.
  • Exceptions thrown by methods that you call. These are all advertised by those methods and checked by the compiler (or your IDE), so there's no excuse for not knowing that they're expected.

This stuff isn't hard. You know at every call site what the possible exceptions are, and you know this because the compiler won't let you explicitly throw or fail to handle any exceptions in your methods. The exceptions that a method can throw are in the JavaDoc and are checked at compile time, so you'll get a compile error if you don't either handle or advertise the exception.

Good error handling is one of the key things that differentiates good developers from bad. If it's something that you find hard, in a language that goes out of its way to make it easy, then you might want to consider other careers.

Comment Re:More job loss (Score 1) 250

Yet the machinery that the Luddites were protesting led to 3 or 4 generations of chronic unemployment with hanging as the solution for kids stealing a loaf of bread, poor houses that were total hell and all kinds of other horrors. The only saving grace was the new world where people were encouraged to go and steal some land from the people that were already there.
Things were good though if you were smart enough to be born into the right class, lots of servants, work was something you'd never actually do and it was called a golden age.

Comment Re:Multi touch while driving? (Score 3, Funny) 123

But given that I've seen people disappear to reach into the glove box for a CD and fiddle with removing the previous, and change the CD while in heavy traffic

Brother, in my day, I could swap out an 8-track with a beer in one hand and a joint in the other while driving a stick shift on the Eisenhower Expressway at 8:45am. On mexican quaaludes.

Don't look at me like that. I was the designated driver. You should have seen the guys in the back seat.

Comment I actually think the finished product is cool (Score 2) 58

It's too bad the creator had to ruin it by opening his mouth. Any 'Art' that makes it's statement with a bunch of words next to it generally isn't art. It's glued together junk that's not aesthetically appealing. This guy actually made something neat and arguably pretty, then made sure we all knew his talents started with, and ended with, this sort of work.

Slashdot Top Deals

An Ada exception is when a routine gets in trouble and says 'Beam me up, Scotty'.

Working...