aspose file tools*
The moose likes Beginning Java and the fly likes ghost in the machine....? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "ghost in the machine....?" Watch "ghost in the machine....?" New topic
Author

ghost in the machine....?

David J. Gonzo
Greenhorn

Joined: Feb 15, 2005
Posts: 20
I am taking a java course, part II, and I have had incidents were a program I design finally works as intended, then when I go back days later (after I have turned in the assignment, no less) it is no longer working as it was. It has happened on more that two occasions. You can imagine how I feel. I spend many days, long hours working on an assignment, I hit the compile button, then run....it finally works! And then days later when I am reviewing my assignment, for various reasons, it is not working correctly anymore. Any one have any possible explanations?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

I would need more information about how it's "not working correctly."

But lacking any additional information, my first guess is that the program is using input that might vary with each execution. So perhaps it worked with certain input, but then failed later when different input was provided.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
David J. Gonzo
Greenhorn

Joined: Feb 15, 2005
Posts: 20
Yes, a big lesson in testing. I get so exicited that I drop the program like a hot potatoe and move on to becoming social again...lol
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Now that I've looked at the Alphabet Pyramid problem, I'm thinking this is in fact what's happening. See my post there...

http://www.coderanch.com/t/398580/java/java/Alphabet-Pyramid-one
[ February 21, 2005: Message edited by: marc weber ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: ghost in the machine....?
 
Similar Threads
SCEA Part 2 assignment download = waiting time of 30 'working' days
Can't believe this !!!
Sun Certified Enterpeise Architect Book???
I am a SCEA! Thanks to every one in this forum
readUTF locking up GUI