This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Say4b.java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Say4b.java" Watch "Say4b.java" New topic
Author

Say4b.java

Dolfandave Uyemura
Ranch Hand

Joined: Jun 11, 2002
Posts: 31
Hi all,
This is my first post here. I have enjoyed my stay so far. I needed a site like this to challenge me enough to be interested. I can safely say after going through some of the exercises I have learned a lot and feel more comfortable w/ Java. I have gotten Say4b to work with 34 strings and about 230 lines total..way too many compared to the instructors 115 but hey, it works for all values from 0 through 999,999,999,999. I have spent about three weeks on it off and on after the kids go to bed. The characters start to look alike at 3:00am . Anyway, what a great challenge and I look forward to many more.
ddave
Barry Gaunt
Ranch Hand

Joined: Aug 03, 2002
Posts: 7729
Hi ddave, good to meet you. The real fun starts when you submit your programs for nitpicking. You will soon see how to "reduce the programs to the max", as they say. Edward Sissorhands is nobody compared with these guys.
-Barry


Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Matthew Phillips
Ranch Hand

Joined: Mar 09, 2001
Posts: 2676
Dolfandave,
Welcome. I agree with Barry on this one. The nitpickers will butcher your code, but you will learn a lot in the process.


Matthew Phillips
Dolfandave Uyemura
Ranch Hand

Joined: Jun 11, 2002
Posts: 31
Thanks guys. I look forward to it. I have been doing the exercises and have to save up the 200 nuggets to get nitpicked but it's in progress as well.
Talk to you soon.
ddave
jason adam
Chicken Farmer ()
Ranch Hand

Joined: May 08, 2001
Posts: 1932
Just to reiterate what the previous posters have said, the nitpicking process helps tremendously! You'll be surprised at how even the "simple" assignments like Java-1a and b can be reduced to make the code more efficient.
Heck, I tried passing over the very first assignment when I started because I thought I had it down. WRONG! Took a couple of nitpicks just to get past that one!
Welcome on board, you'll learn a lot from the folks that hang around these parts.
Carol Murphy
village idiot
Bartender

Joined: Mar 15, 2001
Posts: 1197
I wouldn't characterize nitpicking as 'butchering' one's code. It's more like very necessary cosmetic correction!
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Oh, come now. If you've signed up for something called a "cattle drive" (and you're not one of the people doing the driving), shouldn't you expect to eventually get butchered?


"I'm not back." - Bill Harding, Twister
Donald R. Cossitt
buckaroo
Ranch Hand

Joined: Jan 31, 2003
Posts: 401
Carol;

very necessary cosmetic correction

My Dad used to tell me "any old barn can stand a little paint." 'Course he was responding to Mom putting on her lipstick! :roll:
doco


doco
Elouise Kivineva
Ranch Hand

Joined: Feb 07, 2002
Posts: 154
I bet the barn just loved that sentiment.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Say4b.java