Jump to content

Planning before Programming (PbP)

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
11 replies to this topic

#1
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
What methods do you use to plan out your programs? Psuedocode is nice but a complete waste of ******* time. Writing down some basic structures seem to help though. What methods do you use? What is popular methods?

#2
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
It depends a lot on what I'm doing. Generally, I've found that having a functional and technical spec goes a LONG ways towards helping me out. Rather than focus on the details of what I'll do, define the behaviors that are expected, including screen mockups, input/output pairs, etc. I mainly use tech specs when I'll be using a database backend, or have tricky bits of logic/SQL that I need to document.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#3
Guest_Jordan_*

Guest_Jordan_*
  • Guests
Functional and technical specifications help tremendously. I also like to plan out any databases and classes ahead of time. I have a huge white board in my office that I use for this sort of thing very often.

#4
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
I use good ol' pen + paper, as I don't have a fancy whiteboard... I also write long text documents on wtf I'm going to make.
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#5
relapse

relapse

    Programming Expert

  • Members
  • PipPipPipPipPipPip
  • 476 posts
A whiteboard would be convenient. I bet people throw out old ones all the time.

#6
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
I am with marwex! I just grab a pencil and paper, draw some stuff out, diagram a bit of functionality and the such.

Mainly I just make websites though, since that is my job. Most of what I do is ... well not "repeatitive" but it does not differ much between user. You have pages, pages store, pages output, blah blah blah.

If something new came along back to pen and paper!

My keyboard squeaks when I type....

#7
sdavis2702

sdavis2702

    Learning Programmer

  • Members
  • PipPipPip
  • 93 posts
Well, I'm a noob. I use Pseudocode. Then again, I just learned pseudocode and I don't know very many languages yet lol. Pseudocode did help me write my first little PHP script, though.
My Name is Sean and I like codes and stuff...
NoobJunction.com | SuccessOnMyMind.com | ArmedForcesCarClub.com

#8
marwex89

marwex89

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 10,720 posts
Pseudocode has its usage too. It's nice for getting down details. For planning classes and program organization etc. it sucks though.
Hey! Check out my new Toyota keyboaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

#9
BlaineSch

BlaineSch

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 2,448 posts
Pseudocode is a very handy thing!

I never used it however, it was around the 4th 'language' I was introducted to, thus being a very big time waster, if I would have learned it first it would be better. My pseudocode ends up looking exactly like PHP or Java...

Edit: Grr Marwex you beat me!

#10
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
UML can also be useful when doing planning with OOP.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#11
sdavis2702

sdavis2702

    Learning Programmer

  • Members
  • PipPipPip
  • 93 posts
BlaineSch you're right... it's much better learning it before you ever program. One thing I am noticing more an dmore each day is that there's a lot of logic behind this stuff (duh). But I mean... you really have to understand what you're trying to do in order to get it done properly. Pseudocode, flowcharts, hierarchies... all of that is still helpful to me right now. I can EASILY see myself dropping it soon. However, whenever I hit that beginner's brick wall and twist myself up like a pretzel, those little helpers get me back straight.
My Name is Sean and I like codes and stuff...
NoobJunction.com | SuccessOnMyMind.com | ArmedForcesCarClub.com

#12
Christopher87

Christopher87

    Newbie

  • Members
  • PipPip
  • 20 posts
I'm still looking for an easily accessible planning method that fits both small projects and large projects. Some projects are so small that I don't want to spend a lot of time writing up documentation when I could probably scribble the solution on paper.

I guess I'm looking for something where I know my logic is correct for the ideas that I have. I suspect it is true that psuedo-code and dry runs are the best option for small projects. If my mind can step through the code, the computer should be able to as well.