Search your topic here

Design issues for functions

DESIGN ISSUES FOR FUNCTIONS


The following design issues are specific to functions:
    1. Are side effects allowed?
    2. What types of values can be returned?
    3. How many values can be returned?
    1. Functional Side Effects: Because of the problems of side effects of functions that are called parameters to functions should always be in-mode (actual to formal parameter).

    This requirement of in mode parameter passing prevents a function from causing side effects through its parameters.

    LEAVE A REPLY










    Related topics

    Please use contact page in this website if you find anything incorrect or you want to share more information about the topic discussed above.