The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
---why not just add the " " to your input argument? It would cut down on the clutter in your println's. I like to minimize the variables that I use.
---- The basic functionality of the pre and post increment operators is the same in Java and C++. Personally, I think that using the post increment operator will result in code that is initially more intuitive and less error prone. Indexing arrays in a loop is an area that the pre-increment operator would require you to either modify the beginning of your loop to something other than zero or make sure that your first element is set to null. It's not always intuitive to remember this.
6) Rather than accumulating the string, why don't you just print it as you go along?
I did this in my original version of the project but thought I was creating too many String objects every time I did System.out.println( string1 + string2 ) ;. So I decided to use the StringBuffer to reduce the number of objects created.
---- You really don't need to create any objects....
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Check out my kickstarter CLICK HERE
My book, my movies, my videos, my podcasts, my events ... the big collection of paul wheaton stuff!
Originally posted by Paul Wheaton:
There are a lot of things I prefer that are not added to the style guide. If the style guide gets too big, people won't read it.
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
Hey! Wanna see my flashlight? It looks like this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
|