xkcd Cartoon: How To Write Good Code

Discussion in 'iOS Programming' started by dejo, Jan 7, 2011.

  1. Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #1
  2. Moderator

    balamw

    Staff Member

    Joined:
    Aug 16, 2005
    Location:
    New England
  3. Moderator emeritus

    robbieduncan

    Joined:
    Jul 24, 2002
    Location:
    London
  4. macrumors 6502a

    (marc)

    Joined:
    Sep 15, 2010
    Location:
    the woods
    #4
    Haha, xkcd is priceless! :D And it happens to me every day...
     
  5. macrumors 603

    Joined:
    Jul 29, 2003
    Location:
    Silicon Valley
    #5
    What's missing is statefulness.

    If you code well after coding fast, and learn from your prototypes, you might be able to finish before obsolescence.

    It's called "Throw the first one out".

    ... maybe the first several. A programmer will make mistakes. You can't fix stuff until you make the mistakes, so you might as well make mistakes (in the general direction of the spec) as fast as possible. What you might learn from the hacked up early versions is how wrong the specs are when you actually play with the app, and what parts you might need to code well to finish.

    Then rewrite (and rinse and repeat).
     

Share This Page