Beta
×

Welcome to the Slashdot Beta site -- learn more here. Use the link in the footer or click here to return to the Classic version of Slashdot.

Thank you!

We are sorry to see you leave - Beta is different and we value the time you took to try it out. Before you decide to go, please take a look at some value-adds for Beta and learn more about it. Thank you for reading Slashdot, and for making the site better!

Comments

top

Teacher Suspended Over Blog About Students

p3d0 Re:Less Honesty Please... (634 comments)

Really? You see those as the only two alternatives? Either teachers can say anything about any student on any forum OR they can say nothing about any student ever?

more than 3 years ago
top

Google Brings Design-By-Contract To Java

p3d0 Re:It would mean the contract has been poorly writ (134 comments)

Ah I see what you mean now. Actually I think you've hit upon the key feature of Design by Contract that most people miss. It's not just tossing assertions all over your code. It's a design discipline that shapes the way you write the system, and that's why it's good at finding design problems.

more than 3 years ago
top

Google Brings Design-By-Contract To Java

p3d0 Re:It's just syntactic sugar anyway (134 comments)

Actually Design by Contract is a design discipline, not a bunch of error checks. It's a bit like programming without gotos: the benefit comes not from avoiding typing "goto" into your source code, but rather from the style of reasoning you use when you learn the proper alternatives.

more than 3 years ago
top

Google Brings Design-By-Contract To Java

p3d0 Re:It would mean the contract has been poorly writ (134 comments)

The "definition of correct" is the system working the way it should. I'm not sure what you're suggesting here: that a system should stick with the original, possibly flawed, contracts rather than fix them to operate properly? That once you make an error in a contract, you should live with it forever? I fail to see how that perspective is helpful or realistic, and, forgive me if I'm wrong, but I suspect you may be lacking in practical experience with Design by Contract.

more than 3 years ago
top

Google Brings Design-By-Contract To Java

p3d0 Re:Fail (134 comments)

Contracts can easily have bugs. That shouldn't be too hard to imagine. You could easily have a postcondition "ensure item[index] == 123" when "index" is out of bounds, or when you meant to write "0x123", or when the array is actually called "items".

The fact that contracts can have bugs doesn't negate their value any more than the same fact about software negates software's value.

more than 3 years ago
top

Putting Up With Consolitis

p3d0 Re:Dunno (369 comments)

I picked up a very nice looking 21" 1600x1200 CRT for free. Spending $1 on a display with fewer lines of resolution would be crazy.

Uh... unless you care about something other than resolution. Like desk space, or weight, or power consumption.

more than 3 years ago
top

Contributors Leaving Wikipedia In Record Numbers

p3d0 It's the instant-revert crowd (632 comments)

I know I find it increasingly frustrating to contribute because whatever you add, there's always someone waiting to revert it immediately without any attempt at compromise or discussion.

I also have to say that I think people will find it humourous 50 years from now when they look back at comments from 2009 about how there's not much new stuff to add. That's a bit like the fellow who wanted to close the patent office in 1899 because everything had already been invented.

more than 4 years ago
top

Press Favored Obama Throughout Campaign

p3d0 Exactly (1601 comments)

In other news, the press favors chocolate over brain cancer.

about 6 years ago
top

Spacecraft Buzzes By Mercury

p3d0 Re:delta-v (62 comments)

The main engine has a Specific Impulse (Isp) of 318 seconds. [spaceref.com] On Earth, you'd get about 318 seconds (5+ minutes) of operation.

No. Specific impulse, despite being measured in seconds, has nothing to do with how long the rocket can fire. That obviously depends on how much propellant you carry.

Take another look at that Wikipedia article you linked on specific impulse.

more than 6 years ago

Submissions

Journals

p3d0 has no journal entries.

Slashdot Login

Need an Account?

Forgot your password?