954,541 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

5 Advantages of Using Procedures Within Pascal Programming?

5 Advantages of Using Procedures Within Pascal Programming?

any help here please?

sura91
Newbie Poster
2 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

Makes your program look nicer/shorter?

Gotovina7
Light Poster
44 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

5 Advantages of Using Procedures Within Pascal Programming?

any help here please?

1) Debugging is easier. If the procedure is well written, it will do one and only one thing, making it easier to check

2) Lower maintenance cost. If you have the same code spread along your code, you have to remember where it is located and fix or at least cut and paste it several times

3) You can reuse the code. For example, you may place your procedures in a library and later use it in another program.

4) Greater understanding. Since the procedure is well definedand documented, someone interested won't have to scroll through the whole source in order to find the code he/she wants

5) Easier tuning. Performance usually comes from changing small pieces of code. With procedures these pieces are naturally separated and side-effects from changing variables or code are less likely to happen.

Hope it helps. Any book on software engineering may give these ideas and more.

ecostas
Newbie Poster
22 posts since Nov 2007
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You