How can I plan the development of an application?

Discussion in 'C' started by rfeio, Aug 23, 2008.

  1. rfeio

    rfeio New Member

    Aug 23, 2008
    Likes Received:
    Trophy Points:

    I'm looking for a book or some sort of documentation that could help me plan the development of an application. I would like to have an idea what pros do before they actually start coding. It's too irritating to start coding and then remembering that I did not consider something and have to go back and change lots of pieces of code.

  2. xpi0t0s

    xpi0t0s Mentor

    Aug 6, 2004
    Likes Received:
    Trophy Points:
    Senior Support Engineer
    Heh. If that annoys you, maybe programming isn't right for you. There will ALWAYS be code rework due to changing requirements. What the pros do (well what I do anyway) is to code accordingly; make stuff as generic as possible; if something's written for one item, write it as you would for n items where n currently = 1. Use symbols instead of constants for as much as possible. Writing a chess program? Think the board is only ever going to be 8x8? Some arsehole will come along sooner or later and ask you to make it do Chinese chess (I think) that requires a 10x10 board. Make sure BOARD_X and BOARD_Y are separate, cos if you don't you can guarantee some idiot will think up some bizarre rectangular form of chess.

    However you're correct that you should always do as much preparation as possible. You'll never do enough to avoid all rework though. What you have to prepare partially comes from experience, which you can gain just by making stuff generic.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice