answersLogoWhite

0

Procedures offer many benefits.

First, they reduce the duplication of code, by allowing programmers to call the same code over and over again, using parameters to adjust the behavior with each pass. Most programs would be impossible to write without procedures; many programs run in a loop and call procedures repeatedly until they are told to quit.

Secondly, they isolate code segments. This is pointless as far as users are concerned, but developers find it very practical to be able to isolate a problem to within 10-30 lines of code instead of having to dig through 10,000 or more lines of code.

Thirdly, they offer modules that can be used in separate programs, saving disk space. Several programs written by the same company might use "shared libraries", and thus the overall space requirements for installing multiple programs might be far less than the sum of the requirements for each individual program.

Lastly, they offer performance benefits in terms of speed. Processors are actually designed to run small amounts of code really fast, so large code runs slower. Thanks to the reduction of duplicate code in memory, it is more likely that programs will run faster than they would if they were written without any procedures at all.

User Avatar

Wiki User

13y ago

What else can I help you with?

Related Questions

What policies and procedures do you need for your medical staffing agency?

You need operational policies and procedures.


How do you use safe procedures?

In the Safe Procedures You Need To Follow The Safety Rules In The Safe Procedures.


Do instructions procedures and specifications need a conclusion?

No


What procedures need to be done after a safety audit is complete?

No


Why do you need procedures in science?

Without procedures it would be like mumbo-jumbo. No one would believe in science.


Why do you need to follow safe work procedures?

If you don't follow safe working procedures, you or someone else could be hurt or killed.


Why do prices vary so widely for cosmetic surgery procedures?

Different procedures require different skills. Some need sedation and cutting while some may only need a needle.


What are the legal procedures if you want to marry a Saudi woman?

You need to be Muslim.


Do policy and procedures need to be written?

Yes, policies and important procedures should be written so they are not forgotten or distorted by being passed by word of mouth.


The need to observe personal protection and hygiene procedures at all times?

The need to observe personal protection and hygiene procedures at all times is critical. This will prevent any form of germ infection from getting to the body.


What is the procedures that you must follow at Mafeking and Plumtree border postes?

There are two procedures that need to always be followed on the borders of both Mafeking and Plumtree. Before crossing the border the officers need to look through your belongings. They also need to check for prohibited items.


What you need to know before you begin any lab?

Read all the procedures.