Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27
  1. #21
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,792
    Rep Power
    19

    Default

    Quote Originally Posted by JosAH View Post
    Five kids? Well, consider it your own fault then ;-)

    kindest regards,

    Jos
    I can safely say it was a team effort...

  2. #22
    Tolks is offline Member
    Join Date
    May 2011
    Posts
    2
    Rep Power
    0

    Default

    ok cool, ive never seen the try, catch, continue before.
    thanks for that

  3. #23
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Tolls View Post
    I can safely say it was a team effort...
    Of course; I didn't assume you found them in a bucket while you were minding your own business; it's still your own fault :-P

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  4. #24
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    11,792
    Rep Power
    19

    Default

    Mrs Tolls blames me as well...which is a tad harsh, frankly.

  5. #25
    JosAH's Avatar
    JosAH is online now Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,336
    Blog Entries
    7
    Rep Power
    20

    Default

    Quote Originally Posted by Tolls View Post
    Mrs Tolls blames me as well...which is a tad harsh, frankly.
    Obviously, you shouldn't have plugged in your, say, baby creating instrument so frequently. Do I have to explain every detail here? Don't you folks understand anything? It's still your own fault. So there.

    kind regards,

    Jos ;-)
    cenosillicaphobia: the fear for an empty beer glass

  6. #26
    Solarsonic is offline Senior Member
    Join Date
    Mar 2011
    Posts
    261
    Rep Power
    4

    Default

    I dislike infinite loops as well but a lot of times creating an extra variable is unnecessary.

    The continue and break might not be the most elegant, but it makes more sense and he needs to understand the concept.

  7. #27
    Fubarable's Avatar
    Fubarable is offline Moderator
    Join Date
    Jun 2008
    Posts
    19,316
    Blog Entries
    1
    Rep Power
    26

    Default

    Quote Originally Posted by Solarsonic View Post
    I dislike infinite loops as well but a lot of times creating an extra variable is unnecessary.

    The continue and break might not be the most elegant, but it makes more sense and he needs to understand the concept.
    But spoon feeding without at least seeing some of the fruits of the OP's effort will do the opposite -- he'll hand in your code and won't understand things nearly as well as he could have if we had been able to engage a conversation with him as Darryl and the others were trying to do. I understand why some do it here -- it's a heck of a lot easier to dump in a code solution than to take the time to work with the OP to help him understand a concept, but that doesn't make it right.

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 5
    Last Post: 03-23-2011, 10:28 PM
  2. Replies: 5
    Last Post: 11-27-2010, 03:49 AM
  3. Read user input into integer array
    By varunb in forum New To Java
    Replies: 12
    Last Post: 07-09-2010, 12:50 PM
  4. [SOLVED] User Input - loop
    By new person in forum New To Java
    Replies: 4
    Last Post: 02-22-2009, 10:02 PM
  5. loop when there is no user-input
    By becky in forum New To Java
    Replies: 12
    Last Post: 02-02-2009, 10:02 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •