CS3340:  Intro OOP and Design

"Procedural" Programming

  • creation of proceedures (functions)

    combine returning sequences of statements into one single place. A procedure call is used to invoke the procedure.

    After the sequence is processed, flow of control proceeds right after the position where the call was made


  • advantages:
    • some code reusibility (within a program)
    • concept of parameter passing to proceedures/functions.
    • flow of data can be illustrated as a hierarchical graph, a tree



  • disadvantages:
    • how can other programs share the same proceedures?
    • high dependence of code on proceedures.

© Lynne Grewe