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


Forgot your password?
DEAL: For $25 - Add A Second Phone Number To Your Smartphone for life! Use promo code SLASHDOT25. Also, Slashdot's Facebook page has a chat bot now. Message it for stories and more. Check out the new SourceForge HTML5 Internet speed test! ×

Comment Re:Spare us. (Score 4, Insightful) 62

You know, I disagree vehemently with those who proclaim OO an abject failure. But I'm always a bit bemused with people who feel the need to build OO into everything, whether it needs it or not. The trick, of course, is to use it as it makes sense.

One of the problems with OO is that poorly designed programs can be much worse to grok the logic and flow of than poorly designed procedural programs, mostly because of how scattered the logic can be throughout an object hierarchy.

A much more modern* trend is to avoid deep class hierarchies whenever practical, preferring instead to try to use smaller, more reusable objects that are only responsible for a single task, and use composition of objects. This allows you to more easily test each individual component and assure correctness of behavior, and then build on that behavior. These days, a lot of my classes are very shallow, either a single class, or perhaps derived from an interface class to hide implementation details when necessary.

Class hierarchies still have their place on occasion. There are still cases when you must manage a number of types of related-but-different objects with a lot of common properties. But if you keep this paradigm to a minimum, you'll be a lot happier with OOP, and keep your code more manageable.

* If you consider the last 15 years or so "modern"

Comment Re:EBooks (Score 2) 145

I think a more honest answer is that they're afraid of ebooks cutting into their traditional business market. It's the same reason digital games cost as much as physical media. They don't want to piss off the retailers (who can retaliate by not displaying their wares as prominently), and in truth, it's not in their best interest to undercut them either.

Digital is frightening to publishers, because they well understand that the cost of copying a digital copy is $0, and has no intrinsic value by itself. As such, many of them have been dragged into the digital age kicking, screaming, colluding, and price-fixing...

Comment Re:How about 18 minutes without the tunnel? (Score 1) 160

Here in Seattle's 405 loop, our DOT added tolling to the HOV lanes with this sort of variable pricing about a year and a half ago. Result? $10 for a one-way trip during rush hour for just 15-20 miles or so (not exactly sure of the distance). They hit the max price they promised the public, and was STILL too crowded.

Please learn from our mistakes. This doesn't work. People HAVE to get from Point A to Point B at a certain time every day, because their job demands it. It's going to happen, no matter what financial disincentives you put in the way.

Comment Re: Why the fuck would he care? (Score 1) 296

You're absolutely right. Babies should have to work for their formula!

I hear Trump's next executive order will make Babies great again, by allowing them to work in coal mines, again. After all, why waste valuable canaries when there are so many lazy babies, lying around just expecting people to take care of them? It's time those babies got off Big Mother's teat and started earning their keep!

Comment Re:Oh, this is going to be great (Score 1) 250

Not taking the bait. You're not going to spin this around.

Yeah, I understand that. If you were to acknowledge that you are exactly what you hate, it would be a pretty humbling blow to your ego.

We're done here.

We were done a long time ago, but you are just so unintentionally funny, that I just can't stop...

Comment Re:Amazon has lost it's way (Score 1) 80

Yes, at, though obviously its only limited to searching for their products (which is practically everything). They display "sponsored results" that look just like the results you were searching for. It got so annoying that I configured some special rules in adblock-origin to strip out some of that crap, so I don't even know if they still do that.

I spend a lot of money at Amazon. It's really annoying that they feel they need to monetize my eyeballs as well.

Comment Re:Wish they had this in Seattle... (Score 1) 88

Here's a thought: Elect some actual civic leaders in Seattle instead of the loony crop of social activists and grandstanders currently in leadership positions.

At this moment, Mayor Murray's next big thing is implementing a new soda tax. Oh, but he's now considering taxing diet sodas too, because someone told him that black and poor people drink more regular soda than white and affluent people, and we wouldn't want a racist, regressive tax. And Councilwoman Sawant is actively encouraging protesters to illegally shut down freeways and airports this May Day. Should make for a fun commute. But hey, love those rainbow crosswalks!

Comment Re:Oh, this is going to be great (Score 1) 250

. I am sorry if that makes you uncomfortable but you can't wish away reality by calling people names.

You mean like calling people "chicken little" because they disagree with you?

Real observations don't care for politics.

No, they don't, but do you even know what a "real observation" is? Because all I've seen from you is personal attacks and (ironically) references to the entertainment industry. The amount of hypocrisy you are capable of displaying is truly amazing.

Comment No problem (Score 2) 46

You can have that however you have to accept a few things:

1) Costs are going to go way up. You aren't going to pay $50 or $100 for a software package, it'll be 5 or 6 figures. You'll be paying for all the additional testing, certification, and risk.

2) You won't get new stuff. Everything you use will be old tech. You'll be 5-10 years out of date because of the additional time needed to test and prove things. When a new chip or whatever comes on the market it'll be a good bit of time before it has undergone all the validation it needs to be ready for such a critical use.

3) You will not be permitted to modify anything. You will sign a contract (a real paper one) up front that will specify what you can do with the solution, and what environment it must be run in. Every component will have to be certified, all software on the system, the system itself, any systems it connects to, etc. No changes on your part will be permitted, everything will have to be regression tested and verified before any change is made.

If you are ok with that, then off you go! The way I know this is how it goes is that we have shit like this, we have critical systems out there and this is the kind of shit they go through. They are expensive, inflexible, and out of date compared to the latest mass market shit. If you look at the computers that control a fighter plane or the like you'll be amazed at how "dated" they are. Well they are that way because development took a long time and once they are developed, they continue to be used, they aren't changed often.

Now if that's not ok, if you want the free wheeling environment we have now where you can buy new tech when you like, put things together in any configuration, and run whatever you want that's cool, but accept that means problems will happen. You cannot have it both ways.

Oh and also with that critical stuff:

4) There will be no FOSS. If there's liability for losses, nobody will be willing to freely distribute their work. They aren't going to accept liability for no payment, and aren't going to accept that if their code was used by someone else they might be liable.

Slashdot Top Deals

Sendmail may be safely run set-user-id to root. -- Eric Allman, "Sendmail Installation Guide"