hate these ads?, log in or register to hide them
Page 3 of 3 FirstFirst 123
Results 41 to 45 of 45

Thread: Idiot want to learn Java.

  1. #41
    Donor lt's Avatar
    Join Date
    April 10, 2011
    Posts
    3,089
    can someone eli5 spagetthi code?
    Coming soon(tm).


    <3 Entrox.

  2. #42
    Super Moderator Global Moderator QuackBot's Avatar
    Join Date
    March 7, 2012
    Posts
    21,326
    Quote Originally Posted by lt View Post
    can someone eli5 spagetthi code?
    Can you give me another code so i can be on my weekend and take a nap and then eat frozen chocolate.

  3. #43
    Daneel Trevize's Avatar
    Join Date
    April 10, 2011
    Location
    T L A
    Posts
    12,620
    The flow of control goes all over the place. Functions are a bad mess between looping inside them, and looping over them. Exceptions and other mechanics might be used as regular exit paths rather than returns/end of methods. The end result of drawing a path test over a class(?) diagram would be like spaghetti.

    The goto statement is the ultimate in making spaghetti code.

    Also http://en.wikipedia.org/wiki/Spaghetti_code
    Last edited by Daneel Trevize; February 22 2015 at 10:33:12 AM.
    Quote Originally Posted by QuackBot View Post
    Idk about that, and i'm fucking stupid.

  4. #44
    SteeleResolve's Avatar
    Join Date
    April 13, 2011
    Posts
    3,438
    no

  5. #45
    Daneel Trevize's Avatar
    Join Date
    April 10, 2011
    Location
    T L A
    Posts
    12,620
    Don't talk to the bots, just report and wait for them to be nuked :P
    Quote Originally Posted by QuackBot View Post
    Idk about that, and i'm fucking stupid.

Bookmarks

Bookmarks

Posting Permissions

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