
For those of you familiar with UML, methods will mostly derive from use-cases. Remember use cases are a set of scenarios describing an interaction between as a user and a system. By listing all manner of steps that a user needs to complete an action, we create a use case. The steps will more often than not, correspond to actual functions in your code. Let's take an example of a student registering for a course at a university. The steps involved may be (just as an example). 1. Obtain list of courses 2. select a course of your choice. 3. Confirm availablity (i.e. max number of students reached or not) 4. Register for course It's easy to see how this would translate into actual methods if we were to say, implement a Courses class, methods as ListCourses(), SelectCourse(args) etc, would be more than obvious. -----Original Message----- From: aki [mailto:aki275@googlemail.com] Sent: 30 March 2010 10:32 To: Skunkworks forum Subject: [Skunkworks] Tea time question : A quest to mastering methods indesign phase of an application 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-dHlQVTMxU1VBdU1BSWJx dy1fbjAwOUE&hl=en ------------ Skunkworks Rules http://my.co.ke/phpbb/viewtopic.php?f=24&t=94 ------------ Other services @ http://my.co.ke