Difference between revisions of "Category:Service Procedures"

From MidrangeWiki
Jump to: navigation, search
Line 3: Line 3:
 
This category contains sample service procedures.
 
This category contains sample service procedures.
 
{{stub}}
 
{{stub}}
 +
 +
== Justification ==
 +
There excellent reasons for having service procedures—such as shareability and standardization of business rules.  However, some service procedures (minus their error checking) are so small that one might question creating a service procedure at all.  They might feel that simply employing the stripped-down code directly within their program code is the best way to go (saving the necessity of calling a separate routine—with the additional overhead that such action would require).
 +
{| class="wikitable"
 +
|+Rule of Thumb
 +
|-
 +
|Sometimes, having a service procedure is simply a means of making code more self-documenting (i.e., easier for others to understand).
 +
|}

Revision as of 20:17, 10 December 2018

Summary

This category contains sample service procedures.

This article is a stub. You can help by editing it.


Justification

There excellent reasons for having service procedures—such as shareability and standardization of business rules. However, some service procedures (minus their error checking) are so small that one might question creating a service procedure at all. They might feel that simply employing the stripped-down code directly within their program code is the best way to go (saving the necessity of calling a separate routine—with the additional overhead that such action would require).

Rule of Thumb
Sometimes, having a service procedure is simply a means of making code more self-documenting (i.e., easier for others to understand).