English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Many people have told me the key to keeping up with user's needs is to make programs flexible, so changes can be made easily. Programmers, how do you make your programs flexible (easier to make changes)? Thanks a bunch!

2006-09-05 16:53:08 · 3 answers · asked by GirlsRGamers2 7 in Computers & Internet Software

3 answers

One key to flexibility and reusability is to modularize your programs. By making specific functions into separate "modules", it is easier to track down issues, make changes, and reuse code in other programs.

Say you want to do a binary search, for which there are several different methods. You could write a Search module and then call that in your main program. You could also use the Search routine in other programs by including that module. Finally, if you decided you wanted to change the search method, you would just update the module rather than having to go through lines of code and individual programs to find where all the changes need to be made.

2006-09-05 16:59:28 · answer #1 · answered by TechNeo 4 · 0 0

you can't make programs flexible, once the program(code) is compiled you can't change anything :) that's why there are so many updates for Microsoft programs :))) lo lo lo...it all depends on a programmer,(the way code was written), if it's optimized(you can write same thing in 10 lines of code or in 3 lines, guess witch would work faster? ) unfortunately microsoft makes their programs bigger and bigger(more lines of code) takes more CPU,RAM,HD power and more lines of code means possibility for more errors,(plus more money for companies like Intel, so people would have to upgrade their computers all the time :))) ) but it's not about the flexibilty of the program, it's all about business :) If all programs were flexible with no errors many people would be out of job :)))

2006-09-06 00:36:26 · answer #2 · answered by Anonymous · 0 1

in Software Engineering there is many models to engineer and design a software: there is the Waterfall model which when you go from a phase to the next it will be hard for you to go to the previous one, for example you start with Requirement Engineering then Architecture and Design then Testing then... and you cant go back. think about it this way: the water only falls down and can't falls up

and there is a Spiral model, from the name it works like a spiral you can go round and round in a loop of changing.

I hope this help, I'm not sure what are you looking for!!

2006-09-06 00:17:50 · answer #3 · answered by GNR Sam 3 · 0 0

fedest.com, questions and answers