[prog] pseudocode
Wolf Rising
wolfrising at gmail.com
Thu Jul 28 16:02:15 EST 2005
I thought to learn to properly write a program, you have to know how
to write pseudocode :-)
I don't think I completely understand what is defined as pseudocode
or an algorithm, all the definitions for pseudocode say 'write in plain
english' which is what I thought I did, but when I showed what I was doing
to someone who knows how to program, he said I was only creating a
to do list and in the real world or a school it would not be acceptable.
So open to any ideas or suggestions :-)
Thank you :-)
On 7/28/05, Kathryn Andersen <kat_lists at katspace.homelinux.org> wrote:
>
> On Thu, July 28, 2005 15:13, Wolf Rising wrote:
> > I'm trying to work on improving writing pseudocode but I tend to end up
> > writing to do lists :-)
>
> Well... my first question is: why do you want to write pseudocode?
> To-do lists are a reasonable thing for top-down design.
>
> > Create an associative array to populate this drop down menu
> Thing is, an "associative array" is different things in different
> languages, which means writing pseudocode for it is actually too
> low-level, IMHO.
>
> The usefulness of pseudocode is when you want to lay out an algorithm
> which isn't language-specific, such as "do a bubble-sort".
>
> In your case, it might be...
>
> menu_array = make_menu_arrray()
> while (not_at_end_of_array(menu_array)
> {
>
> }
>
>
> Kathryn Andersen
> --
> use Standard::Disclaimer; http://www.katspace.org
>
> Maranatha! http://www.katapace.org/gen_fic_crit
>
> _______________________________________________
> Programming mailing list
> Programming at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/programming
>
More information about the Programming
mailing list