aspose file tools*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes I hate my code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "I hate my code" Watch "I hate my code" New topic
Author

I hate my code

S. Thakker
Ranch Hand

Joined: Aug 11, 2011
Posts: 45
So as I am reviewing everything, take a step back, calm down, relax and just stop feverishly working in every spare moment, I realize
that I hate my code. There are so many things I want to change, why did I do this, why did I do that.. I could have done it this way....

I am so mad that Oracle made this new requirement, because it definately affected the quality of my work trying to make this saturday aug 27th deadline
and submit so I could get a testing appointment. I could have used an extra 2 days to just review and make changes here and there....

Either way, I have already fixed some of my code to be better....

Just venting....

Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5539
    
  13

The deadline is October 1st, so you had still plenty of time left. Of course submitting after August 27 would result in maybe having to follow a mandatory course if you fail. But that's unlikely to happen: only a few people failed on their 1st attempt.


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
S. Thakker
Ranch Hand

Joined: Aug 11, 2011
Posts: 45
Yea, unfortunately, my fear was that I would fail for some silly reason, like I forgot a comment on a public method or something of that sort, and at t hat point, there would be no way I could
pay for that course, and my company would definately not cover it in this economic climate. Maybe I was silly now that I think about it.... Probably very silly -- oh well
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2267
    
    3

Well S, one thing that I realized is that, in the end of the project, we always want to change a lot of things. This is a certification, so I'd say you have to consider carefully what you want to change. If, for instance, you forgot a "must", then go ahead and change. Otherwise, if it is something that you don't like, but you can live with, then you don't have to change.

After I got the certification, I realized that there were a lot of things that I would have changed. The code and techniques that I presented in the paper that I made available in one of the sticky posts of this forum looks very different from the original code I first submitted.


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
S. Thakker
Ranch Hand

Joined: Aug 11, 2011
Posts: 45
Yea, I know what you mean Robert... I feel like ripping the thing apart.. No most of it is not must, but I think I have some useless code in my business layer that is not doing what I thought it was...... I am pretty paranoid, but thats just how I am... Even though I submitted already, I am still looking at the code. My plan is to do the Network portion as RMI next for fun. But I should have known better and tested my business class with some more test cases.
Sean Keane
Ranch Hand

Joined: Nov 03, 2010
Posts: 581

In an exam you only have a certain period of time to produce a solution. So the most competent people will most likely produce the best solution.

Of course people who arent as competent may well produce just as good a solution if given more time. But then how would you differentiate between the level of each person if everyone produced an equally good solution?

The point im making is that i think the time limit is a good thing.

Also, in industry you will rarely ever have the time to produce a perfect solution. Quite often it is not the people that are creating the software that set the deadlines.

So you may have to produce your software based on a deadline that someone else defined. That may mean you may need to make comprimises in order to deliver your software on time. For example, dropping some nice-to-have functionality, reduced test coverage, etc

It is the same with this assignment. So you shouldnt be annoyed that you have noticed areas you could improve.

In my eyes this is a positive of doing the certification. You have learned about better ways of solving a certain problem. So next time you are working on a project you will be able to use these ideas.


SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
S. Thakker
Ranch Hand

Joined: Aug 11, 2011
Posts: 45
I guess I agree somewhat with your statement, but the oracle deadline used to be 12 months, now its 6 months, and I submitted my assignment in 10 days. I have a full time job and 2 young children. I guess what I am saying, Is I should have listened to Roel, and put forth a final solution worth submitting, even if it meant that I wouldnt be able to re-submit.... But for some reason, my OCD kicked in, and I just had to meet the August 27th deadline for the completion of the essay & assignment.. So I cut alot of corners... My fault I know.... But to tell you the truth, I had so much fun doing this assignment...... I learned alot... I think I am going to take the time to correct all my issues I have and read up some more on patterns... But whether or not I have to resubmit, I dont care.. I will make my solution better.

Oladeji Oluwasayo
Ranch Hand

Joined: Sep 10, 2010
Posts: 101

I think we have a similar situation. The deadline was formerly 1st August which meant we are to submit on or before 31st July. When I downloaded the assignment 15th March, I thought I had a year to complete it. No work throughout April. I worked mid-May/June. I wanted to submit late June only for me to discover that my GUI client (network mode) could not read the database form the server (but could invoke methods on the server, which meant that it had an active connection but I couldn't get the database and search results across the wire). It was already July and my code was still sure to fail (why should I submit code that can't network properly in the first place?). I am a student and school exams were to begin by 11th July. I wanted to submit before exams so I cut a lot of corners (which I had already been cutting since I realized the new deadline, so that the pressure won't affect my school work). Now I feel there are a couple of things I'll like to modify in my code, yeah serious things...


OCPJP 6, OCMJD 6
Cathal Mullan
Ranch Hand

Joined: May 20, 2011
Posts: 118
S. Thakker, I feel the same, I'm also dissappointed this class requirement was added. I don't know who would have the money to pay for it. I wanted to be a certified architect but I'm not going to now, I'll learn just the things which interest me now
S. Thakker
Ranch Hand

Joined: Aug 11, 2011
Posts: 45
I am glad that other people feel the same way... I am not stressing it anymore...

I had a really good time doing this project... I mean I stayed up till 3AM some nights working on it, and then up at 6Am to go to work...then back at 7PM and start it again... heheh
Totally awesome... How strange are we
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: I hate my code