| Author |
Total No of Lines - Bodgitt & Scarper
|
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
Hello,
I'm quite surprised to see that in the main OCMJD page it says the program should be around 3500 lines of code, but as far as I think my code should be finished within half of that limit.
Is it only me or am I missing something ?
|
 |
Sean Keane
Ranch Hand
Joined: Nov 03, 2010
Posts: 581
|
|
|
Are you finished developing your assignment?
|
SCJP (1.4 | 5.0), OCJP (6.0), OCMJD
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 3820
|
|
|
If you have a look at my story about passing the SCJD (see signature), then you can read my code base had +- 2500 lines.
|
SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
|
 |
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
Thanks for the replies!
No I'm not done with the assignment
But according to my previous assignments I feel this assignment shouldn't be around 3500 lines.
Thanks for sharing the details Roel
But why did your GUI had 1500+ lines in it ?? My GUI is almost finished & I have about 700 lines, maybe it will be around 1000 when finished
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 3820
|
|
Ray Dawson wrote:But why did your GUI had 1500+ lines in it ?? My GUI is almost finished & I have about 700 lines, maybe it will be around 1000 when finished
Maybe because you lack some window to enter the configuration settings to start your application? Maybe because I used other layout managers which require more code? Maybe because my GUI is more restrictive as yours? ...
|
 |
Sean Keane
Ranch Hand
Joined: Nov 03, 2010
Posts: 581
|
|
|
That's a lot of maybe's :p
|
 |
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
I'm customizing a lot of my layout managers.
BTW How many User-Guided GUI did you have ? I mean search page & what else ?
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 3820
|
|
Ray Dawson wrote:BTW How many User-Guided GUI did you have ? I mean search page & what else ?
I have no idea what you talking about here
|
 |
Roberto Perillo
Bartender
Joined: Dec 28, 2007
Posts: 2147
|
|
Ray Dawson wrote:BTW How many User-Guided GUI did you have ? I mean search page & what else ?
I think he is asking what were the features that were included in the user guide... I think.
|
Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
|
 |
Matthew Brown
Bartender
Joined: Apr 06, 2010
Posts: 2686
|
|
Roel De Nijs wrote:If you have a look at my story about passing the SCJD (see signature), then you can read my code base had +- 2500 lines.
Just counted mine. Unfortunately I don't have a tool for counting lines of code, but there are about 5500 lines in in the files, which is about 500 less than your total. Assuming I've got similar proportion of blank lines and comments, I'll be in the 2000-2500 lines of code range.
Of course, you've got to be careful with a simple metric like that. Just changing your formatting style could make a significant difference.
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 3820
|
|
Matthew Brown wrote:Unfortunately I don't have a tool for counting lines of code
You can find it here.
Matthew Brown wrote:Just changing your formatting style could make a significant difference.
That's true, certainly if you change e.g. the characters per line (defaults to 80). But I simply used the built-in Eclipse with a few (small) modifications.
|
 |
Sean Keane
Ranch Hand
Joined: Nov 03, 2010
Posts: 581
|
|
Everyone knows size matters . This has to be candidate for the most irrelavent thread of the year award - the OP has not completed coding, rendering the entire discussion futile. Unless he is just going to stop coding when he reaches 3500 lines?
|
 |
Matthew Brown
Bartender
Joined: Apr 06, 2010
Posts: 2686
|
|
Thanks! Turns out I don't have as large a proportion of comments as you: 2369 comments/3007 lines of code.
Roel De Nijs wrote:That's true, certainly if you change e.g. the characters per line (defaults to 80). But I simply used the built-in Eclipse with a few (small) modifications.
I was thinking more about the style of {..} brackets as well. I suppose if everyone's following the Java coding standards there won't be much difference there, though.
|
 |
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
Sean Keane wrote:Everyone knows size matters  . This has to be candidate for the most irrelavent thread of the year award - the OP has not completed coding, rendering the entire discussion futile. Unless he is just going to stop coding when he reaches 3500 lines?
Knowing the waters before diving in
|
 |
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
Roberto Perillo wrote:
Ray Dawson wrote:BTW How many User-Guided GUI did you have ? I mean search page & what else ?
I think he is asking what were the features that were included in the user guide... I think.
I was referring to the pages that the user can interact with, like the standard page is the search page where the user searches for inputted data.
Is there any extra pages made for the user to see - like the locked data is locked by which customer etc ?
|
 |
Sean Keane
Ranch Hand
Joined: Nov 03, 2010
Posts: 581
|
|
Ray Dawson wrote:Knowing the waters before diving in
Water is water. All that matters is that you can swim. If you can swim, then you'll be fine. If you can't swim, then...
|
 |
Ray Dawson
Ranch Hand
Joined: Sep 16, 2011
Posts: 75
|
|
Sean Keane wrote:
Ray Dawson wrote:Knowing the waters before diving in
Water is water. All that matters is that you can swim. If you can swim, then you'll be fine. If you can't swim, then...
I guess I have learned how to swim in the last couple of yrs, but Oracle wants us to swim in a specific manner. Thus am trying to perfect my art by asking questions here whether irrelevant or not
|
 |
Sean Keane
Ranch Hand
Joined: Nov 03, 2010
Posts: 581
|
|
Good to know you can swim, because I don't think there are any lifebuoys around here
|
 |
Roel De Nijs
Bartender
Joined: Jul 19, 2004
Posts: 3820
|
|
Ray Dawson wrote:I was referring to the pages that the user can interact with, like the standard page is the search page where the user searches for inputted data.
Is there any extra pages made for the user to see - like the locked data is locked by which customer etc ?
My GUI consists of the following windows / dialogs:
In the client application you have 1 panel containing some input fields, a table and some buttons. No other panels are required for this application. But of course you implement the booking process like you want (I created a dialog with room details, but that's not required at all, there are many other alternatives)
Sean Keane wrote:I don't think there are any lifebuoys around here
I definitely prefer a lifegirl and then I'm ready to pretend I can't swim
|
 |
 |
|
|
subject: Total No of Lines - Bodgitt & Scarper
|
|
|