-
May 1st, 2010, 09:40 PM
#1
Need Help Reading Old Code. Can you help me?
I found some old code on a cdrom that had to be at least 4 years old.
It was an old pong remake I had made when I was younger.
I wanted to publish it on my website as a sort of old memory.
Sadly thought the code is 420 lines of code and it is MESSY.
Of course I now a LOT more about Java and I would consider this structuring of code to be unacceptable now.
I had every intent to restructure the code however I can't read it anymore. It looks like I just hacked it together in any way that worked. Knowing now that I coded that badly in the past is not only upsetting but just downright disturbing.
Can you help me decode this mess of code so I can restructure it?
Or if its that bad should I just redo it?
Link to the code: http://www.megaupload.com/?d=WEEBL1P3
-
May 2nd, 2010, 02:55 PM
#2
Re: Need Help Reading Old Code. Can you help me?
If this is your code and you can't understand it, I'd suggest you just rewrite the whole thing. I don't know if anyone here has time to read through your "messy" code and figure it out for you.
Don't worry too much about how bad code you wrote in the past looks. The sign of a good developer is that you are learning and improving all the time. It's also a good sign that you can look at your own work and find it lacking.
-
May 3rd, 2010, 05:44 AM
#3
Re: Need Help Reading Old Code. Can you help me?
You can't figure out some rubbish code that you wrote, so you'd like us to do it for you?
If you come over and paint my house, I'll think about it
Rewrite and revise. Do not be afraid to seize what you have and cut it to ribbons ... Good writing means good revising...
W Strunk Jr
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
-
May 3rd, 2010, 09:42 AM
#4
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by dlorde
If you come over and paint my house, I'll think about it
Rewrite and revise. Do not be afraid to seize what you have and cut it to ribbons ... Good writing means good revising...
W Strunk Jr
Dang! Your answer is better than mine too (here)! I'm going to have to stop posting when my sense of humor is absent!
-
May 3rd, 2010, 10:23 AM
#5
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by ajhampson
Originally Posted by dlorde
If you come over and paint my house, I'll think about it
Dang! Your answer is better than mine too (here)!
It's only a better answer if the OP doesn't take him up on the offer. Would you trust someone who can't even figure out the code they wrote only 4 years ago to paint your house.
-
May 3rd, 2010, 01:19 PM
#6
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by keang
It's only a better answer if the OP doesn't take him up on the offer. Would you trust someone who can't even figure out the code they wrote only 4 years ago to paint your house.
Oops! hopefully he navigates as well as he reads his own code
If you want to increase your success rate, double your failure rate...
T. J. Watson
Please use [CODE]...your code here...[/CODE] tags when posting code. If you get an error, please post the full error message and stack trace, if present.
-
May 3rd, 2010, 04:39 PM
#7
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by ajhampson
If this is your code and you can't understand it, I'd suggest you just rewrite the whole thing. I don't know if anyone here has time to read through your "messy" code and figure it out for you.
Don't worry too much about how bad code you wrote in the past looks. The sign of a good developer is that you are learning and improving all the time. It's also a good sign that you can look at your own work and find it lacking.
ok. I suppose I will just redo it and then call it old. hahaha
Kinda seems like its cheating though... hahaha
-
May 3rd, 2010, 04:41 PM
#8
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by dlorde
You can't figure out some rubbish code that you wrote, so you'd like us to do it for you?
If you come over and paint my house, I'll think about it
hm.... I suppose I can take you up on that offer.
Where do you live? hehehehe.
Wait... How BIG is your house???
Are you going to provide the paint???
hahahaha
-
May 3rd, 2010, 04:43 PM
#9
Re: Need Help Reading Old Code. Can you help me?
Originally Posted by ajhampson
Dang! Your answer is better than mine too ( here)! I'm going to have to stop posting when my sense of humor is absent!
hahaha I read threw that topic you posted.
I am glad we still have a sense of humor.....
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|