Managing a project

Everything else that doesn't fall into one of the other PB categories.
Polo
Addict
Addict
Posts: 2422
Joined: Tue May 06, 2003 5:07 pm
Location: UK

Managing a project

Post by Polo »

Hi !
I've got a difficult question for you all : how do you manage your project ?
I mean, when you've got something in mind you want to code, how do you organize yourself to finish this project ?
Because finishing a project (when it's a serious one of course :)) requires a lot of organisation (I'm missing bit of that :)).
For example, maybe Fred or Freak want to tell us how do they do ?
And also I would like to know how do you manage the bugs (when you've find a bug, one that's not easy to fix, what do you do ? Do you just add it to a list of bugs in a txt file that you'll fix later, or you have something better ?)
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

I have two template files I've set up, one for the 'main' file of the project (where all the arrays, global variables and structures are declared) and another for procedures. I have lots of different procedures files, each containing procedures that are related in some way. The first thing I do is create this loop:

Code: Select all

 Repeat

 Until Endit=1
Then I think 'Where do I start?'. From there I bash out my first procedure then go out about creating new ones when nessacary. I always deal with the 'blood and guts' of a program first - that's my favourite part. I worry about GUIs and the like much, much later in development.

Now if I come accross a bug the first thing I do is and in 'Debug -1' at a point where I'm fairly sure the bug hasn't (or doesn't) occur. I then re-run the code and add 'Debug -2' a little further on in the code. I carry that on until I can narrow down the line that's messing up. Then I add in a load of debug statmens which output the variables that I'm using, so I can see whats happeneing to them. From there I can usually work out what's going on. If a bug really defeats me I just rip out a section of code and rewrite it, making damn sure no bug gets back in :twisted:.

I never leave a bug to go and write new code - I always deal with them. Unfortunatly this means I tend to generate huge numbers of slightly different versions of the same code - which can be a nightmare for anyone I'm working with!

Sometimes you can just see or work out a bug in your head - for some reason I always work them out on the bog. I've done some of my best programming there without writing a single line of code!
~I see one problem with your reasoning: the fact is thats not a chicken~
Pantcho!!
Enthusiast
Enthusiast
Posts: 538
Joined: Tue Feb 24, 2004 3:43 am
Location: Israel
Contact:

Post by Pantcho!! »

Killswitch wrote:I never leave a bug to go and write new code - I always deal with them.
He's Right! never ever leave a bug altough it's time wasting you have to deal your bugs! or if you know what part of the code is causing the bug and rewrite it in a diffrent alternative way and maybe by that bypass the bug and even more create a better code.
Killswitch wrote:Unfortunatly this means I tend to generate huge numbers of slightly different versions of the same code - which can be a nightmare for anyone I'm working with!
Yep he's right again

Anyway manage your code in a way you can modify/change them and save backups to know if you are trying a new code then there is a possibilty you go back to the old! so make backups and be orginized.

thats it.
Post Reply