Closed Thread
Page 2 of 2 FirstFirst 12
Results 11 to 11 of 11

Thread: How to tackle a programming problem?

  1. #11
    Join Date
    Oct 2007
    Posts
    538
    Rep Power
    21
    Usually I'll detail the various sections that go together in a rough way (say a text editor might have a file access segment, a buffer segment and an interface segment) and list the relations between them (e.g. one file access service and one user interface can service many text buffers) and finally the information transfers between them (e.g. the UI sends a command to the buffer, the buffer sends a text stream and a filename to the file access service for saving, the UI switches between buffers, etc).

    I avoid going into absurd detail, I find great use for high level modelling but find low level modelling just slows me down. So I have little use for flowcharts and such other than as very quick sketches. Most of UML falls into this bracket IMHO.

    Other than this I tend to use test driven development because it leaves your code with very loose coupling which in turn makes refactoring and even scope changes as simple as it can possible be (it also leaves you with a solid regression testing suite). Also it's nice knowing that at any time during development the maximum time your code didn't work (as defined by your test suite) is 5 minutes. Naturally if your test suite sucks this doesn't mean much.

    //edit - the most important thing for any process is to identify what you need, break it down into manageable sections and then set some sort of system to measure progress. Usually the first part (identifying what you need) is impossible to get right first time and it's important that any good design is capable of the inevitable scope changes at low cost.

    I'd be careful about any system that puts too much faith in requirements gathering, any system that assumes you can know exactly what you want is absolutely doomed to failure.//
    Last edited by G_Morgan; 01-07-2008 at 09:34 AM.

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
Closed Thread
Page 2 of 2 FirstFirst 12

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help with a Programming problem
    By king_koder in forum C and C++
    Replies: 4
    Last Post: 10-07-2010, 05:32 AM
  2. Replies: 2
    Last Post: 12-14-2009, 02:57 AM
  3. modular programming problem
    By kakarukeys in forum Python
    Replies: 5
    Last Post: 05-29-2009, 08:34 AM
  4. programming or virus problem
    By mukul in forum C and C++
    Replies: 2
    Last Post: 09-30-2007, 07:33 AM

Tags for this Thread

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