The moose likes Cattle Drive and the fly likes help with a 1B nitpick... I'm not really seeing it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "help with a 1B nitpick... I Watch "help with a 1B nitpick... I New topic

help with a 1B nitpick... I'm not really seeing it

Steven Lacher

Joined: Dec 26, 2002
Posts: 12
From Marilyn's nitpick...
"Now that we have such a refined program, it's time to pick at the finer details. What happens if the name is just perfectly long enough that you write exactly 80 characters? (like "Mike" or "Marilyn")
The problem is that if your console is 80 characters wide and you write to the 80th character, many consoles will start a new line for you. Since you also start a new line, you get double spaced lines. How can you work around this issue?"

I'm thinking that perhaps since I know my last character is always a space (name followed by " "), that I should instead limit the wrap limit to 79 characters instead. But I'm just not sure. Any thoughts or guidance, fellow cattle drivers?

SCJP 1.4
Carol Murphy
village idiot

Joined: Mar 15, 2001
Posts: 1194
I'm thinking you're onto something there.....
jQuery in Action, 2nd edition
subject: help with a 1B nitpick... I'm not really seeing it
Similar Threads
Assignment Java-1b (Resolved)
Assignment 1-b
newline character
Coding practice: length limit for an identifier
Java 1b