I personally create functions/methods based on "uses"

For example, suppose i have a registration form, i will probably have methods like:
printUserRegistrationForm() and consequently processUserRegistrationForm()

But I normally find that i derive the variables AFTER coming up with the methods, and not before. And i've never been able to predefine all variables before I finish the project, but then again, I often use a laissez faire approach to software design :-)

Have you explored using pseudo code and flowcharts? If done properly, these are just like coding on paper.

On Tue, Mar 30, 2010 at 10:32 AM, aki <aki275@googlemail.com> wrote:
Its almost that time to take a few minutes break and look at mastering
methods. I learnt something from my variable thread the other day,
which was to phrase my question correctly. So to start with, am asking
you the coder//programmer to imagine that you were put into a
situation as a software developer consultant/software design
architect.

Let us first establish that we all know about methods/functions. What
we also know about these are thing like various ways that they get
used. The question then goes as follows : You have a project, you know
its requirements, know its basic flow and have established all the
variables to be used. Now it is time to get these onto paper and work
out the actual code flow without even touching any keys. You have a
blank paper in front of you, you need to start the process....! The
process that you put on eg paper will be used in development process.

Programmers on the list : Define the easiest way to derive methods.

Hope I've listed the question correctly this time around. :-)

Rgds.
_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------
Skunkworks Server donations spreadsheet
http://spreadsheets.google.com/ccc?key=0AopdHkqSqKL-dHlQVTMxU1VBdU1BSWJxdy1fbjAwOUE&hl=en
------------
Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke